Method: Bosh::Agent::Infrastructure::Vsphere::Settings#initialize

Defined in:
lib/bosh_agent/infrastructure/vsphere/settings.rb

#initializeSettings

Returns a new instance of Settings.



9
10
11
12
13
14
15
# File 'lib/bosh_agent/infrastructure/vsphere/settings.rb', line 9

def initialize
  base_dir = Bosh::Agent::Config.base_dir
  @logger = Bosh::Agent::Config.logger
  @cdrom_retry_wait = DEFAULT_CDROM_RETRY_WAIT
  @cdrom_settings_mount_point = File.join(base_dir, 'bosh', 'settings')
  @cdrom_device = nil
end