Sha256: 4711ebd0fd6716482976f9eabceea3f4505c5012808e37e0adf91e88f1f8b664

Contents?: true

Size: 529 Bytes

Versions: 1

Compression:

Stored size: 529 Bytes

Contents

module VagrantPlugins
  module GuestWindows
    class Config < Vagrant.plugin("2", :config)
      attr_accessor :set_work_network

      def initialize
        @set_work_network = UNSET_VALUE
      end

      def validate(machine)
        errors = []

        errors << "windows.set_work_network cannot be nil." if @set_work_network.nil?

        { "Windows Guest" => errors }
      end

      def finalize!
        @set_work_network = false if @set_work_network == UNSET_VALUE
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-cloudstack-1.2.0 vendor/bundle/bundler/gems/vagrant-c84e05fd063f/plugins/guests/windows/config.rb