diff --git a/builder/amazon/chroot/communicator.go b/builder/amazon/chroot/communicator.go index b27c7c72d..e0bc5613f 100644 --- a/builder/amazon/chroot/communicator.go +++ b/builder/amazon/chroot/communicator.go @@ -45,6 +45,9 @@ func (c *Communicator) Start(cmd *packer.RemoteCmd) error { } } + log.Printf( + "Chroot executation ended with '%d': '%s'", + exitStatus, cmd.Command) cmd.SetExited(exitStatus) }()