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