mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
fix handle_box_image.rb:89: syntax error
This commit is contained in:
@@ -80,14 +80,17 @@ module VagrantPlugins
|
||||
message << " in storage pool #{config.storage_pool_name}."
|
||||
@logger.info(message)
|
||||
|
||||
@storage_volume_uid = storage_uid env
|
||||
@storage_volume_gid = storage_gid env
|
||||
|
||||
begin
|
||||
fog_volume = env[:machine].provider.driver.connection.volumes.create(
|
||||
name: env[:box_volume_name],
|
||||
allocation: "#{box_image_size / 1024 / 1024}M",
|
||||
capacity: "#{box_virtual_size}G",
|
||||
format_type: box_format,
|
||||
owner: storage_uid env,
|
||||
group: storage_gid env,
|
||||
owner: @storage_volume_uid,
|
||||
group: @storage_volume_gid,
|
||||
pool_name: config.storage_pool_name
|
||||
)
|
||||
rescue Fog::Errors::Error => e
|
||||
|
||||
Reference in New Issue
Block a user