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

pull/919/head
Mitchell Hashimoto 12 years ago
parent f4567ee921
commit 4a2793445f

@ -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

Loading…
Cancel
Save