Enable the spot_price in "amazon-instance-store" AMI

This commit is contained in:
Henry Huang 2014-05-12 12:54:06 +08:00
parent 3980c7dcfd
commit da29d684a8
1 changed files with 1 additions and 0 deletions

View File

@ -200,6 +200,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
&awscommon.StepRunSourceInstance{
Debug: b.config.PackerDebug,
ExpectedRootDevice: "instance-store",
SpotPrice: b.config.SpotPrice,
InstanceType: b.config.InstanceType,
IamInstanceProfile: b.config.IamInstanceProfile,
UserData: b.config.UserData,