Guests to V2
This commit is contained in:
parent
45f211b19e
commit
1d2beff649
|
@ -270,7 +270,7 @@ module Vagrant
|
|||
def load_guest(guest)
|
||||
@logger.info("Loading guest: #{guest}")
|
||||
|
||||
klass = Vagrant.plugin("1").manager.guests[guest]
|
||||
klass = Vagrant.plugin("2").manager.guests[guest]
|
||||
|
||||
if klass.nil?
|
||||
raise Errors::VMGuestError,
|
||||
|
|
|
@ -2,7 +2,7 @@ require "vagrant"
|
|||
|
||||
module VagrantPlugins
|
||||
module GuestArch
|
||||
class Plugin < Vagrant.plugin("1")
|
||||
class Plugin < Vagrant.plugin("2")
|
||||
name "Arch guest"
|
||||
description "Arch guest support."
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ require "vagrant"
|
|||
|
||||
module VagrantPlugins
|
||||
module GuestDebian
|
||||
class Plugin < Vagrant.plugin("1")
|
||||
class Plugin < Vagrant.plugin("2")
|
||||
name "Debian guest"
|
||||
description "Debian guest support."
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ require "vagrant"
|
|||
|
||||
module VagrantPlugins
|
||||
module GuestFedora
|
||||
class Plugin < Vagrant.plugin("1")
|
||||
class Plugin < Vagrant.plugin("2")
|
||||
name "Fedora guest"
|
||||
description "Fedora guest support."
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
module VagrantPlugins
|
||||
module GuestFreeBSD
|
||||
class Config < Vagrant.plugin("1", :config)
|
||||
class Config < Vagrant.plugin("2", :config)
|
||||
attr_accessor :halt_timeout
|
||||
attr_accessor :halt_check_interval
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ module VagrantPlugins
|
|||
# A general Vagrant system implementation for "freebsd".
|
||||
#
|
||||
# Contributed by Kenneth Vestergaard <kvs@binarysolutions.dk>
|
||||
class Guest < Vagrant.plugin("1", :guest)
|
||||
class Guest < Vagrant.plugin("2", :guest)
|
||||
# Here for whenever it may be used.
|
||||
class FreeBSDError < Vagrant::Errors::VagrantError
|
||||
error_namespace("vagrant.guest.freebsd")
|
||||
|
|
|
@ -2,7 +2,7 @@ require "vagrant"
|
|||
|
||||
module VagrantPlugins
|
||||
module GuestFreeBSD
|
||||
class Plugin < Vagrant.plugin("1")
|
||||
class Plugin < Vagrant.plugin("2")
|
||||
name "FreeBSD guest"
|
||||
description "FreeBSD guest support."
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ require "vagrant"
|
|||
|
||||
module VagrantPlugins
|
||||
module GuestGentoo
|
||||
class Plugin < Vagrant.plugin("1")
|
||||
class Plugin < Vagrant.plugin("2")
|
||||
name "Gentoo guest"
|
||||
description "Gentoo guest support."
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
module VagrantPlugins
|
||||
module GuestLinux
|
||||
class Config < Vagrant.plugin("1", :config)
|
||||
class Config < Vagrant.plugin("2", :config)
|
||||
attr_accessor :halt_timeout
|
||||
attr_accessor :halt_check_interval
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ require "vagrant"
|
|||
|
||||
module VagrantPlugins
|
||||
module GuestLinux
|
||||
class Guest < Vagrant.plugin("1", :guest)
|
||||
class Guest < Vagrant.plugin("2", :guest)
|
||||
class LinuxError < Vagrant::Errors::VagrantError
|
||||
error_namespace("vagrant.guest.linux")
|
||||
end
|
||||
|
|
|
@ -2,7 +2,7 @@ require "vagrant"
|
|||
|
||||
module VagrantPlugins
|
||||
module GuestLinux
|
||||
class Plugin < Vagrant.plugin("1")
|
||||
class Plugin < Vagrant.plugin("2")
|
||||
name "Linux guest."
|
||||
description "Linux guest support."
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ require "vagrant"
|
|||
|
||||
module VagrantPlugins
|
||||
module GuestOpenBSD
|
||||
class Plugin < Vagrant.plugin("1")
|
||||
class Plugin < Vagrant.plugin("2")
|
||||
name "OpenBSD guest"
|
||||
description "OpenBSD guest support."
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ require "vagrant"
|
|||
|
||||
module VagrantPlugins
|
||||
module GuestRedHat
|
||||
class Plugin < Vagrant.plugin("1")
|
||||
class Plugin < Vagrant.plugin("2")
|
||||
name "RedHat guest"
|
||||
description "RedHat guest support."
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
module VagrantPlugins
|
||||
module GuestSolaris
|
||||
class Config < Vagrant.plugin("1", :config)
|
||||
class Config < Vagrant.plugin("2", :config)
|
||||
attr_accessor :halt_timeout
|
||||
attr_accessor :halt_check_interval
|
||||
# This sets the command to use to execute items as a superuser. sudo is default
|
||||
|
|
|
@ -5,7 +5,7 @@ module VagrantPlugins
|
|||
# A general Vagrant system implementation for "solaris".
|
||||
#
|
||||
# Contributed by Blake Irvin <b.irvin@modcloth.com>
|
||||
class Guest < Vagrant.plugin("1", :guest)
|
||||
class Guest < Vagrant.plugin("2", :guest)
|
||||
# Here for whenever it may be used.
|
||||
class SolarisError < Vagrant::Errors::VagrantError
|
||||
error_namespace("vagrant.guest.solaris")
|
||||
|
|
|
@ -2,7 +2,7 @@ require "vagrant"
|
|||
|
||||
module VagrantPlugins
|
||||
module GuestSolaris
|
||||
class Plugin < Vagrant.plugin("1")
|
||||
class Plugin < Vagrant.plugin("2")
|
||||
name "Solaris guest."
|
||||
description "Solaris guest support."
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ require "vagrant"
|
|||
|
||||
module VagrantPlugins
|
||||
module GuestSuse
|
||||
class Plugin < Vagrant.plugin("1")
|
||||
class Plugin < Vagrant.plugin("2")
|
||||
name "SUSE guest"
|
||||
description "SUSE guest support."
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ require "vagrant"
|
|||
|
||||
module VagrantPlugins
|
||||
module GuestUbuntu
|
||||
class Plugin < Vagrant.plugin("1")
|
||||
class Plugin < Vagrant.plugin("2")
|
||||
name "Ubuntu guest"
|
||||
description "Ubuntu guest support."
|
||||
|
||||
|
|
Loading…
Reference in New Issue