Commit dac078b4 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

Merge pull request #1360 from jmassara/ee_fix

builder/amazon-chroot: Fix bug with getting ec2 connection instead of source image
parents 4ef38744 ca84e2ac
......@@ -12,7 +12,7 @@ import (
type StepCheckRootDevice struct{}
func (s *StepCheckRootDevice) Run(state multistep.StateBag) multistep.StepAction {
image := state.Get("ec2").(*ec2.Image)
image := state.Get("source_image").(*ec2.Image)
ui := state.Get("ui").(packer.Ui)
ui.Say("Checking the root device on source AMI...")
......
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