Commit d3d7bfe8 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

builder/amazon/instance: sudo the ec2-bundle-vol by default

parent 77634119
......@@ -56,7 +56,7 @@ func (b *Builder) Prepare(raws ...interface{}) error {
}
if b.config.BundleVolCommand == "" {
b.config.BundleVolCommand = "ec2-bundle-vol " +
b.config.BundleVolCommand = "sudo -n ec2-bundle-vol " +
"-k {{.KeyPath}} " +
"-u {{.AccountId}} " +
"-c {{.CertPath}} " +
......
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