builder/amazon/chroot: mount in device-specific places

This commit is contained in:
Mitchell Hashimoto 2013-12-21 09:16:09 -08:00
parent f4567ee921
commit 4a2793445f
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ func (b *Builder) Prepare(raws ...interface{}) ([]string, error) {
}
if b.config.MountPath == "" {
b.config.MountPath = "packer-amazon-chroot-volumes/{{.Device}}"
b.config.MountPath = "/mnt/packer-amazon-chroot-volumes/{{.Device}}"
}
// Accumulate any errors