forked from bellwether/minerva
supply device name
This commit is contained in:
parent
7c8363f5b7
commit
d5532ed36e
1 changed files with 2 additions and 1 deletions
|
|
@ -47,7 +47,8 @@ class Machine:
|
||||||
'SubnetId': self.pier.subnet_id,
|
'SubnetId': self.pier.subnet_id,
|
||||||
'Groups': self.pier.groups,
|
'Groups': self.pier.groups,
|
||||||
'DeviceIndex': 0}],
|
'DeviceIndex': 0}],
|
||||||
BlockDeviceMappings = [{'Ebs': {'VolumeSize': self.disk_size,
|
BlockDeviceMappings = [{'DeviceName': '/dev/xvda',
|
||||||
|
'Ebs': {'VolumeSize': self.disk_size,
|
||||||
'DeleteOnTermination': True}}],
|
'DeleteOnTermination': True}}],
|
||||||
IamInstanceProfile = iam
|
IamInstanceProfile = iam
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue