vagrant-vmware-esxi 1.5.1 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -36,7 +36,7 @@ module VagrantPlugins
36
36
  Net::SSH.start(config.esxi_hostname, config.esxi_username,
37
37
  password: $esxi_password,
38
38
  port: config.esxi_hostport,
39
- keys: config.esxi_private_keys,
39
+ keys: config.local_private_keys,
40
40
  timeout: 20,
41
41
  number_of_password_prompts: 0,
42
42
  non_interactive: true
@@ -85,9 +85,9 @@ module VagrantPlugins
85
85
  $esxi_password = ''
86
86
  esxi_password_key = config.esxi_password.gsub(/key:/i, '').chomp
87
87
  if esxi_password_key.empty?
88
- config.esxi_private_keys = config.system_private_keys_path
88
+ config.local_private_keys = config.system_private_keys_path
89
89
  else
90
- config.esxi_private_keys = esxi_password_key
90
+ config.local_private_keys = esxi_password_key
91
91
  end
92
92
  else
93
93
  # Use plain text password from config
@@ -109,8 +109,8 @@ module VagrantPlugins
109
109
  '*', '%2a').gsub('?', '%3f').gsub(\
110
110
  '$', '%24')
111
111
 
112
- @logger.info('vagrant-vmware-esxi, connect_esxi: esxi_private_keys: '\
113
- "#{config.esxi_private_keys}")
112
+ @logger.info('vagrant-vmware-esxi, connect_esxi: local_private_keys: '\
113
+ "#{config.local_private_keys}")
114
114
 
115
115
  #
116
116
  # Test ESXi host connectivity
@@ -119,7 +119,7 @@ module VagrantPlugins
119
119
  Net::SSH.start(config.esxi_hostname, config.esxi_username,
120
120
  password: $esxi_password,
121
121
  port: config.esxi_hostport,
122
- keys: config.esxi_private_keys,
122
+ keys: config.local_private_keys,
123
123
  timeout: 20,
124
124
  number_of_password_prompts: 0,
125
125
  non_interactive: true
@@ -149,7 +149,7 @@ module VagrantPlugins
149
149
  elsif config.esxi_password =~ %r{^file:}i
150
150
  access_error_message = "file:#{esxi_password_file}"
151
151
  elsif config.esxi_password =~ %r{^key:}i
152
- access_error_message = "key:#{config.esxi_private_keys}"
152
+ access_error_message = "key:#{config.local_private_keys}"
153
153
  else
154
154
  access_error_message = 'password in Vagrantfile'
155
155
  end
@@ -31,7 +31,7 @@ module VagrantPlugins
31
31
  Net::SSH.start(config.esxi_hostname, config.esxi_username,
32
32
  password: $esxi_password,
33
33
  port: config.esxi_hostport,
34
- keys: config.esxi_private_keys,
34
+ keys: config.local_private_keys,
35
35
  timeout: 20,
36
36
  number_of_password_prompts: 0,
37
37
  non_interactive: true
@@ -36,8 +36,8 @@ module VagrantPlugins
36
36
  env[:ui].info I18n.t('vagrant_vmware_esxi.vagrant_vmware_esxi_message',
37
37
  message: 'Attempting to package')
38
38
 
39
- if (config.allow_overwrite =~ %r{true}i) ||
40
- (config.allow_overwrite =~ %r{yes}i)
39
+ if (config.local_allow_overwrite =~ %r{true}i) ||
40
+ (config.local_allow_overwrite =~ %r{yes}i)
41
41
  overwrite_opts = '--overwrite'
42
42
  else
43
43
  overwrite_opts = nil
@@ -53,7 +53,7 @@ module VagrantPlugins
53
53
  if File.exists?("#{boxname}.box") && overwrite_opts.nil?
54
54
  raise Errors::GeneralError,
55
55
  message: "#{boxname}.box already exists. Set \n"\
56
- " allow_overwrite='True' in Vagrantfile for force."
56
+ " local_allow_overwrite='True' in Vagrantfile for force."
57
57
  end
58
58
 
59
59
  # Find a tar/bsdtar
@@ -39,7 +39,7 @@ module VagrantPlugins
39
39
  Net::SSH.start(config.esxi_hostname, config.esxi_username,
40
40
  password: $esxi_password,
41
41
  port: config.esxi_hostport,
42
- keys: config.esxi_private_keys,
42
+ keys: config.local_private_keys,
43
43
  timeout: 20,
44
44
  number_of_password_prompts: 0,
45
45
  non_interactive: true
@@ -44,7 +44,7 @@ module VagrantPlugins
44
44
  Net::SSH.start(config.esxi_hostname, config.esxi_username,
45
45
  password: $esxi_password,
46
46
  port: config.esxi_hostport,
47
- keys: config.esxi_private_keys,
47
+ keys: config.local_private_keys,
48
48
  timeout: 20,
49
49
  number_of_password_prompts: 0,
50
50
  non_interactive: true
@@ -41,7 +41,7 @@ module VagrantPlugins
41
41
  Net::SSH.start(config.esxi_hostname, config.esxi_username,
42
42
  password: $esxi_password,
43
43
  port: config.esxi_hostport,
44
- keys: config.esxi_private_keys,
44
+ keys: config.local_private_keys,
45
45
  timeout: 20,
46
46
  number_of_password_prompts: 0,
47
47
  non_interactive: true,
@@ -29,8 +29,8 @@ module VagrantPlugins
29
29
  config = env[:machine].provider_config
30
30
 
31
31
  # Number of nics configured
32
- if config.virtual_network.is_a? Array
33
- number_of_adapters = config.virtual_network.count
32
+ if config.esxi_virtual_network.is_a? Array
33
+ number_of_adapters = config.esxi_virtual_network.count
34
34
  else
35
35
  number_of_adapters = 1
36
36
  end
@@ -86,7 +86,7 @@ module VagrantPlugins
86
86
  interface: index,
87
87
  type: :static,
88
88
  use_dhcp_assigned_default_route: options[:use_dhcp_assigned_default_route],
89
- mac_address: options[:mac],
89
+ guest_mac_address: options[:mac],
90
90
  ip: options[:ip],
91
91
  netmask: netmask,
92
92
  gateway: options[:gateway]
@@ -97,14 +97,14 @@ module VagrantPlugins
97
97
  interface: index,
98
98
  type: :dhcp,
99
99
  use_dhcp_assigned_default_route: options[:use_dhcp_assigned_default_route],
100
- mac_address: options[:mac]
100
+ guest_mac_address: options[:mac]
101
101
  }
102
102
  ip_msg = 'dhcp'
103
103
  netmask = ''
104
104
  end
105
105
  networks_to_configure << network
106
106
  env[:ui].info I18n.t('vagrant_vmware_esxi.vagrant_vmware_esxi_message',
107
- message: "Configuring : #{ip_msg}#{netmask} on #{config.virtual_network[index]}")
107
+ message: "Configuring : #{ip_msg}#{netmask} on #{config.esxi_virtual_network[index]}")
108
108
  end
109
109
  end
110
110
 
@@ -37,7 +37,7 @@ module VagrantPlugins
37
37
  Net::SSH.start(config.esxi_hostname, config.esxi_username,
38
38
  password: $esxi_password,
39
39
  port: config.esxi_hostport,
40
- keys: config.esxi_private_keys,
40
+ keys: config.local_private_keys,
41
41
  timeout: 20,
42
42
  number_of_password_prompts: 0,
43
43
  non_interactive: true,
@@ -34,7 +34,7 @@ module VagrantPlugins
34
34
  Net::SSH.start(config.esxi_hostname, config.esxi_username,
35
35
  password: $esxi_password,
36
36
  port: config.esxi_hostport,
37
- keys: config.esxi_private_keys,
37
+ keys: config.local_private_keys,
38
38
  timeout: 20,
39
39
  number_of_password_prompts: 0,
40
40
  non_interactive: true
@@ -34,7 +34,7 @@ module VagrantPlugins
34
34
  Net::SSH.start(config.esxi_hostname, config.esxi_username,
35
35
  password: $esxi_password,
36
36
  port: config.esxi_hostport,
37
- keys: config.esxi_private_keys,
37
+ keys: config.local_private_keys,
38
38
  timeout: 20,
39
39
  number_of_password_prompts: 0,
40
40
  non_interactive: true
@@ -37,7 +37,7 @@ module VagrantPlugins
37
37
  Net::SSH.start(config.esxi_hostname, config.esxi_username,
38
38
  password: $esxi_password,
39
39
  port: config.esxi_hostport,
40
- keys: config.esxi_private_keys,
40
+ keys: config.local_private_keys,
41
41
  timeout: 20,
42
42
  number_of_password_prompts: 0,
43
43
  non_interactive: true,
@@ -22,6 +22,7 @@ module VagrantPlugins
22
22
  # Get config.
23
23
  machine = env[:machine]
24
24
  config = env[:machine].provider_config
25
+ time = Time.new
25
26
 
26
27
  @logger.info("vagrant-vmware-esxi, snapshot_save: machine id: #{machine.id}")
27
28
  @logger.info("vagrant-vmware-esxi, snapshot_save: current state: #{env[:machine_state]}")
@@ -37,7 +38,7 @@ module VagrantPlugins
37
38
  Net::SSH.start(config.esxi_hostname, config.esxi_username,
38
39
  password: $esxi_password,
39
40
  port: config.esxi_hostport,
40
- keys: config.esxi_private_keys,
41
+ keys: config.local_private_keys,
41
42
  timeout: 20,
42
43
  number_of_password_prompts: 0,
43
44
  non_interactive: true,
@@ -45,8 +46,32 @@ module VagrantPlugins
45
46
  keepalive_interval: 30
46
47
  ) do |ssh|
47
48
 
48
- puts "machine id: #{machine.id} snapshot name: #{env[:snapshot_name]}"
49
- r = ssh.exec!("vim-cmd vmsvc/snapshot.create #{machine.id} \"#{env[:snapshot_name]}\"")
49
+ env[:ui].info I18n.t('vagrant_vmware_esxi.vagrant_vmware_esxi_message',
50
+ message: "snapshot name : #{env[:snapshot_name]}")
51
+
52
+ if RUBY_PLATFORM =~ /win/i
53
+ username_msg = ENV['USERNAME'] unless ENV['USERNAME'].nil?
54
+ else
55
+ username_msg = ENV['USER'] unless ENV['USER'].nil?
56
+ end
57
+ username_msg = "Unknown" if username_msg.nil?
58
+
59
+ options_msg = ''
60
+ options_msg << ' ' + config.guest_snapshot_includememory unless config.guest_snapshot_includememory.nil?
61
+ options_msg << ' ' + config.guest_snapshot_quiesced unless config.guest_snapshot_quiesced.nil?
62
+ options_msg = "Options:" + options_msg if options_msg.length > 2
63
+
64
+ snapshot_msg = time.localtime.to_s + ", Snapshot created using Vagrant-vmware-esxi by " +\
65
+ username_msg + "\n#{options_msg}"
66
+
67
+ if config.debug =~ %r{true}i
68
+ env[:ui].info I18n.t('vagrant_vmware_esxi.vagrant_vmware_esxi_message',
69
+ message: "snapshot_msg: #{snapshot_msg}")
70
+ end
71
+
72
+ r = ssh.exec!("vim-cmd vmsvc/snapshot.create #{machine.id} "\
73
+ "\"#{env[:snapshot_name]}\" \"#{snapshot_msg}\" "\
74
+ "#{config.guest_snapshot_includememor} #{config.guest_snapshot_quiesced}")
50
75
 
51
76
  if r.exitstatus != 0
52
77
  raise Errors::ESXiError,
@@ -40,7 +40,7 @@ module VagrantPlugins
40
40
  Net::SSH.start(config.esxi_hostname, config.esxi_username,
41
41
  password: $esxi_password,
42
42
  port: config.esxi_hostport,
43
- keys: config.esxi_private_keys,
43
+ keys: config.local_private_keys,
44
44
  timeout: 20,
45
45
  number_of_password_prompts: 0,
46
46
  non_interactive: true,
@@ -8,70 +8,92 @@ module VagrantPlugins
8
8
  attr_accessor :esxi_hostport
9
9
  attr_accessor :esxi_username
10
10
  attr_accessor :esxi_password
11
- attr_accessor :esxi_private_keys
12
- attr_accessor :ssh_username
13
- attr_accessor :private_key_path
14
- attr_accessor :vmname
15
- attr_accessor :vmname_prefix
16
- attr_accessor :guestos
17
- attr_accessor :vm_disk_store
18
- attr_accessor :vm_disk_type
19
- attr_accessor :virtual_network
20
- attr_accessor :nic_type
21
- attr_accessor :mac_address
22
- attr_accessor :resource_pool
23
- attr_accessor :memsize
24
- attr_accessor :numvcpus
25
- attr_accessor :virtualhw_version
26
- attr_accessor :custom_vmx_settings
27
- attr_accessor :allow_overwrite
11
+ attr_accessor :esxi_disk_store
12
+ attr_accessor :esxi_virtual_network
13
+ attr_accessor :esxi_resource_pool
14
+ attr_accessor :guest_username
15
+ attr_accessor :guest_name
16
+ attr_accessor :guest_name_prefix
17
+ attr_accessor :guest_guestos
18
+ attr_accessor :guest_disk_type
19
+ attr_accessor :guest_nic_type
20
+ attr_accessor :guest_mac_address
21
+ attr_accessor :guest_memsize
22
+ attr_accessor :guest_numvcpus
23
+ attr_accessor :guest_virtualhw_version
24
+ attr_accessor :guest_snapshot_includememory
25
+ attr_accessor :guest_snapshot_quiesced
26
+ attr_accessor :guest_custom_vmx_settings
27
+ attr_accessor :local_private_keys
28
+ attr_accessor :local_allow_overwrite
29
+ attr_accessor :local_lax
30
+ attr_accessor :local_private_keys_path
28
31
  attr_accessor :debug
29
- attr_accessor :lax
30
- attr_accessor :system_private_keys_path
31
- attr_accessor :supported_virtualhw_versions
32
- attr_accessor :supported_vm_disk_types
33
- attr_accessor :supported_nic_types
34
- attr_accessor :supported_guestos
32
+ attr_accessor :supported_guest_virtualhw_versions
33
+ attr_accessor :supported_guest_disk_types
34
+ attr_accessor :supported_guest_nic_types
35
+ attr_accessor :supported_guest_guestos
36
+
37
+ #
38
+ # legacy (1.x) config entries
39
+ attr_accessor :esxi_private_keys # esxi_password
40
+ attr_accessor :ssh_username # guest_username
41
+ attr_accessor :vmname # guest_name
42
+ attr_accessor :vmname_prefix # guest_name_prefix
43
+ attr_accessor :guestos # guest_guestos
44
+ attr_accessor :vm_disk_store # esxi_disk_store
45
+ attr_accessor :vm_disk_type # guest_disk_type
46
+ attr_accessor :virtual_network # esxi_virtual_network
47
+ attr_accessor :nic_type # guest_nic_type
48
+ attr_accessor :mac_address # guest_mac_address
49
+ attr_accessor :resource_pool # esxi_resource_pool
50
+ attr_accessor :memsize # guest_memsize
51
+ attr_accessor :numvcpus # guest_numvcpus
52
+ attr_accessor :virtualhw_version # guest_virtualhw_version
53
+ attr_accessor :custom_vmx_settings # guest_custom_vmx_settings
54
+ attr_accessor :allow_overwrite # local_allow_overwrite
55
+ attr_accessor :lax # local_lax
35
56
 
36
57
  def initialize
37
58
  @esxi_hostname = nil
38
59
  @esxi_hostport = 22
39
60
  @esxi_username = 'root'
40
61
  @esxi_password = nil
41
- @esxi_private_keys = UNSET_VALUE
42
- @ssh_username = 'vagrant'
43
- @private_key_path = UNSET_VALUE
44
- @vmname = nil
45
- @vmname_prefix = 'V-'
46
- @guestos = nil
47
- @vm_disk_store = nil
48
- @vm_disk_type = nil
49
- @virtual_network = nil
50
- @nic_type = nil
51
- @mac_address = ["","","",""]
52
- @resource_pool = nil
53
- @memsize = UNSET_VALUE
54
- @numvcpus = UNSET_VALUE
55
- @virtualhw_version = nil
56
- @custom_vmx_settings = UNSET_VALUE
57
- @allow_overwrite = 'False'
62
+ @esxi_disk_store = nil
63
+ @esxi_virtual_network = nil
64
+ @esxi_resource_pool = nil
65
+ @guest_username = 'vagrant'
66
+ @guest_name = nil
67
+ @guest_name_prefix = 'V-'
68
+ @guest_guestos = nil
69
+ @guest_disk_type = nil
70
+ @guest_nic_type = nil
71
+ @guest_mac_address = ["","","",""]
72
+ @guest_memsize = nil
73
+ @guest_numvcpus = nil
74
+ @guest_virtualhw_version = nil
75
+ @guest_snapshot_includememory = 'False'
76
+ @guest_snapshot_quiesced = 'False'
77
+ @guest_custom_vmx_settings = nil
78
+ @local_private_keys = nil
79
+ @local_allow_overwrite = 'False'
80
+ @local_lax = 'False'
58
81
  @debug = 'False'
59
- @lax = 'False'
60
82
  @system_private_keys_path = [
61
83
  '~/.ssh/id_rsa',
62
84
  '~/.ssh/id_ecdsa',
63
85
  '~/.ssh/id_ed25519',
64
86
  '~/.ssh/id_dsa'
65
87
  ]
66
- @supported_virtualhw_versions = [
88
+ @supported_guest_virtualhw_versions = [
67
89
  4,7,8,9,10,11,12,13
68
90
  ]
69
- @supported_vm_disk_types = [
91
+ @supported_guest_disk_types = [
70
92
  'thin',
71
93
  'thick',
72
94
  'eagerzeroedthick'
73
95
  ]
74
- @supported_nic_types = [
96
+ @supported_guest_nic_types = [
75
97
  'vlance',
76
98
  'flexible',
77
99
  'e1000',
@@ -80,7 +102,7 @@ module VagrantPlugins
80
102
  'vmxnet2',
81
103
  'vmxnet3'
82
104
  ]
83
- @supported_guestos = [
105
+ @supported_guest_guestos = [
84
106
  'asianux3-64',
85
107
  'asianux3',
86
108
  'asianux4-64',
@@ -230,25 +252,132 @@ module VagrantPlugins
230
252
  'winXPPro-64',
231
253
  'winXPPro'
232
254
  ]
255
+
256
+ # Legacy (1.x)
257
+ @esxi_private_keys = nil
258
+ @ssh_username = nil
259
+ @vmname = nil
260
+ @vmname_prefix = nil
261
+ @guestos = nil
262
+ @vm_disk_store = nil
263
+ @vm_disk_type = nil
264
+ @virtual_network = nil
265
+ @nic_type = nil
266
+ @mac_address = nil
267
+ @resource_pool = nil
268
+ @memsize = nil
269
+ @numvcpus = nil
270
+ @virtualhw_version = nil
271
+ @custom_vmx_settings = nil
272
+ @allow_overwrite = nil
273
+ @lax = nil
233
274
  end
234
275
 
235
276
  def finalize!
236
- @private_key_path = nil if @private_key_path == UNSET_VALUE
237
- @ssh_username = nil if @ssh_username == UNSET_VALUE
238
- if @virtual_network.is_a? String
239
- @virtual_network = [@virtual_network]
277
+
278
+ # Migrate legacy(1.x) parms to 2.0
279
+ migrate_msg = ""
280
+ unless @esxi_private_keys.nil?
281
+ migrate_msg << "You should migrate legacy option esxi_private_keys to esxi_password = \"key:\" in Vagrant file.\n"
282
+ end
283
+ unless @ssh_username.nil?
284
+ migrate_msg << "You should migrate legacy option ssh_username to guest_username in Vagrant file.\n"
285
+ @guest_username = @ssh_username.dup
286
+ end
287
+ unless @vmname.nil?
288
+ migrate_msg << "You should migrate legacy option vmname to guest_name in Vagrant file.\n"
289
+ @guest_name = @vmname.dup
290
+ end
291
+ unless @vmname_prefix.nil?
292
+ migrate_msg << "You should migrate legacy option vmname_prefix to guest_name_prefix in Vagrant file.\n"
293
+ @guest_name_prefix = @vmname_prefix.dup
294
+ end
295
+ unless @guestos.nil?
296
+ migrate_msg << "You should migrate legacy option guestos to guest_guestos in Vagrant file.\n"
297
+ @guest_guestos = @guestos.dup
298
+ end
299
+ unless @vm_disk_store.nil?
300
+ migrate_msg << "You should migrate legacy option vm_disk_store to esxi_disk_store in Vagrant file.\n"
301
+ @esxi_disk_store = @vm_disk_store.dup
240
302
  end
241
- if @virtual_network.nil?
242
- @virtual_network = ['--NotSet--']
303
+ unless @vm_disk_type.nil?
304
+ migrate_msg << "You should migrate legacy option vm_disk_type to guest_disk_type in Vagrant file.\n"
305
+ @guest_disk_type = @vm_disk_type.dup
243
306
  end
244
- @esxi_private_keys = @system_private_keys_path if @esxi_private_keys == UNSET_VALUE
245
- if @lax =~ /true/i
246
- @lax = 'True'
307
+ unless @virtual_network.nil?
308
+ migrate_msg << "You should migrate legacy option virtual_network to esxi_virtual_network in Vagrant file.\n"
309
+ @esxi_virtual_network = @virtual_network.dup
310
+ end
311
+ unless @nic_type.nil?
312
+ migrate_msg << "You should migrate legacy option nic_type to guest_nic_type in Vagrant file.\n"
313
+ @guest_nic_type = @nic_type.dup
314
+ end
315
+ unless @mac_address.nil?
316
+ migrate_msg << "You should migrate legacy option mac_address to guest_mac_address in Vagrant file.\n"
317
+ @guest_mac_address = @mac_address.dup
318
+ end
319
+ unless @resource_pool.nil?
320
+ migrate_msg << "You should migrate legacy option resource_pool to esxi_resource_pool in Vagrant file.\n"
321
+ @esxi_resource_pool = @resource_pool.dup
322
+ end
323
+ unless @memsize.nil?
324
+ migrate_msg << "You should migrate legacy option memsize to guest_memsize in Vagrant file.\n"
325
+ @guest_memsize = @memsize.dup
326
+ end
327
+ unless @numvcpus.nil?
328
+ migrate_msg << "You should migrate legacy option numvcpus to guest_numvcpus in Vagrant file.\n"
329
+ @guest_numvcpus = @numvcpus.dup
330
+ end
331
+ unless @virtualhw_version.nil?
332
+ migrate_msg << "You should migrate legacy option virtualhw_version to guest_virtualhw_version in Vagrant file.\n"
333
+ @guest_virtualhw_version = @virtualhw_version.dup
334
+ end
335
+ unless @custom_vmx_settings.nil?
336
+ migrate_msg << "You should migrate legacy option custom_vmx_settings to guest_custom_vmx_settings in Vagrant file.\n"
337
+ @guest_custom_vmx_settings = @custom_vmx_settings.dup
338
+ end
339
+ unless @allow_overwrite.nil?
340
+ migrate_msg << "You should migrate legacy option allow_overwrite to local_allow_overwrite in Vagrant file.\n"
341
+ @local_allow_overwrite = @allow_overwrite.dup
342
+ end
343
+ unless @lax.nil?
344
+ migrate_msg << "You should migrate legacy option lax to local_lax in Vagrant file.\n"
345
+ @local_lax = @lax.dup
346
+ end
347
+
348
+ if $migrate_msg_flag.nil?
349
+ $migrate_msg_flag = 'True'
350
+ puts migrate_msg
351
+ end
352
+
353
+ @guest_username = nil if @guest_username == UNSET_VALUE
354
+
355
+ @esxi_virtual_network = [@esxi_virtual_network] if @esxi_virtual_network.is_a? String
356
+
357
+ @esxi_virtual_network = ['--NotSet--'] if @esxi_virtual_network.nil?
358
+
359
+ @local_private_keys = @system_private_keys_path if @local_private_keys == nil
360
+
361
+ # @guest_virtualhw_version = @guest_virtualhw_version.to_i unless @guest_virtualhw_version.nil?
362
+
363
+ if @local_lax =~ /true/i
364
+ @local_lax = 'True'
247
365
  else
248
- @lax = 'False'
249
- @virtualhw_version = @virtualhw_version.to_i unless @virtualhw_version.nil?
366
+ @local_lax = 'False'
367
+
368
+ end
369
+
370
+ if @guest_snapshot_includememory =~ /true/i
371
+ @guest_snapshot_includememory = 'includeMemory'
372
+ else
373
+ @guest_snapshot_includememory = ''
374
+ end
375
+ if @guest_snapshot_quiesced =~ /true/i
376
+ @guest_snapshot_quiesced = 'quiesced'
377
+ else
378
+ @guest_snapshot_quiesced = ''
250
379
  end
251
- end
380
+ end
252
381
  end
253
382
  end
254
383
  end