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

pull/218/head
Mitchell Hashimoto 13 years ago
parent b5552c00f3
commit 3f543dddaa

@ -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}} " +

Loading…
Cancel
Save