Commit 76319a45 by Feanil Patel

Fix the thing.

Set params on BlockDeviceType instead of BlockDeviceMapping.
parent cac73c99
......@@ -380,9 +380,10 @@ rm -rf $base_dir
secure_vars_file=secure_vars_file,
cache_id=args.cache_id)
mapping = BlockDeviceMapping(delete_on_termination=True,
volume_type='gp2')
root_vol = BlockDeviceType(size=args.root_vol_size)
mapping = BlockDeviceMapping()
root_vol = BlockDeviceType(size=args.root_vol_size,
delete_on_termination=True,
volume_type='gp2')
mapping['/dev/sda1'] = root_vol
ec2_args = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment