Sha256: 2e5abc6e01cbde556d86119797db8747280e287ee13d610a27158b18581ecefd
Contents?: true
Size: 1013 Bytes
Versions: 3
Compression:
Stored size: 1013 Bytes
Contents
require "vagrant" module VagrantPluginDummy module Guest class Dummy < Vagrant.plugin("2", :guest) # Vagrant 1.1.x compatibility methods # Implement the 1.1.x methods and call through to the new 1.2.x capabilities attr_reader :machine def initialize(machine = nil) super(machine) unless machine == nil @machine = machine end def change_host_name(name) false end def distro_dispatch :dummy end def halt false end def mount_virtualbox_shared_folder(name, guestpath, options) false end def mount_vmware_shared_folder(name, guestpath, options) false end def configure_networks(networks) require_relative "guest/cap/configure_networks" VagrantPluginDummy::Guest::Cap::ConfigureNetworks end # Vagrant 1.2.x compatibility methods def detect?(machine) machine.communicate.test("") end end end end
Version data entries
3 entries across 3 versions & 1 rubygems