vagrant/plugins/guests/openbsd/guest.rb

19 lines
358 B
Ruby
Raw Normal View History

require "vagrant"
require Vagrant.source_root.join("plugins/guests/linux/guest")
module VagrantPlugins
module GuestOpenBSD
class Guest < VagrantPlugins::GuestLinux::Guest
def detect?(machine)
# TODO: OpenBSD detection
false
end
2012-03-10 22:03:09 +00:00
def halt
vm.communicate.sudo("shutdown -p -h now")
2012-03-10 22:03:09 +00:00
end
end
end
end