Sha256: 9d88929ea48318c1a4378d829d39e699a7559335fd8880453087fc914d028110

Contents?: true

Size: 736 Bytes

Versions: 5

Compression:

Stored size: 736 Bytes

Contents

#  Config

module VagrantPlugins
  module Qubes
    # Config class
    class Config < Vagrant.plugin('2', :config)
      attr_accessor :debug
      attr_accessor :guest_type
      attr_accessor :guest_label
      attr_accessor :guest_template
      attr_accessor :guest_numvcpus
      attr_accessor :guest_memsize
      attr_accessor :guest_netvm
      attr_accessor :saved_ipaddress

      def initialize
        @debug = 'False'
        @local_use_ip_cache = 'True'
        @saved_ipaddress = nil
      end

      def finalize!
        if @local_use_ip_cache =~ /false/i
          @local_use_ip_cache = 'False'
        else
          @local_use_ip_cache = 'True'
        end
        @saved_ipaddress = nil
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vagrant-qubes-0.0.5 lib/vagrant-qubes/config.rb
vagrant-qubes-0.0.4 lib/vagrant-qubes/config.rb
vagrant-qubes-0.0.3 lib/vagrant-qubes/config.rb
vagrant-qubes-0.0.2 lib/vagrant-qubes/config.rb
vagrant-qubes-0.0.1 lib/vagrant-qubes/config.rb