* account * addresses * administrator * afterwards * because * bridgeable * capabilities * capability * checksum * configuration * configuration for * configure * criteria * delimited * delivered * derivatives * description * detect * directory * display * downloading * during * electric * enabling * encountered * equivalent * executable * executed * hashicorp * hypervisor * hyphens * implementation * incorporate * inheritance * initialize * instance * instead * interactions * invocable * machine * maximum * message * mounting * overridden * overwrite * paramiko * preparing * provides * provisioning * recursively * requested * resetting * retryable * running * satisfied * searching * sometimes * specified * successfully * synced folders * unauthorized * underlying * userprofile * vagrant * vagrantfile * variable * various * version * virtual * windows
24 lines
783 B
Ruby
24 lines
783 B
Ruby
module Vagrant
|
|
module Plugin
|
|
module V2
|
|
# A base class for a guest OS. A guest OS is responsible for detecting
|
|
# that the guest operating system running within the machine. The guest
|
|
# can then be extended with various "guest capabilities" which are their
|
|
# own form of plugin.
|
|
#
|
|
# The guest class itself is only responsible for detecting itself,
|
|
# and may provide helpers for the capabilities.
|
|
class Guest
|
|
# This method is called when the machine is booted and has communication
|
|
# capabilities in order to detect whether this guest operating system
|
|
# is running within the machine.
|
|
#
|
|
# @return [Boolean]
|
|
def detect?(machine)
|
|
false
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|