diff --git a/lib/kitchen/driver/openstack/volume.rb b/lib/kitchen/driver/openstack/volume.rb index 38115ca..26a1298 100644 --- a/lib/kitchen/driver/openstack/volume.rb +++ b/lib/kitchen/driver/openstack/volume.rb @@ -86,7 +86,7 @@ def create_volume(config, os) end def get_bdm(config, os) - bdm = config[:block_device_mapping] + bdm = config[:block_device_mapping].clone bdm[:volume_id] = create_volume(config, os) if bdm[:make_volume] bdm.delete_if { |k, _| k == :make_volume } bdm.delete_if { |k, _| k == :snapshot_id }