Commit 4a279344 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

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

parent f4567ee9
......@@ -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
......
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