mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-23 08:21:43 -04:00
Merge pull request #4341 from rahart/f-chroot-snapshots-crash
amazon-chroot builder snapshot interface panic
This commit is contained in:
@@ -71,6 +71,12 @@ func (s *StepSnapshot) Run(state multistep.StateBag) multistep.StepAction {
|
||||
}
|
||||
|
||||
state.Put("snapshot_id", s.snapshotId)
|
||||
|
||||
snapshots := map[string][]string{
|
||||
*ec2conn.Config.Region: {s.snapshotId},
|
||||
}
|
||||
state.Put("snapshots", snapshots)
|
||||
|
||||
return multistep.ActionContinue
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user