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

pull/919/head
Mitchell Hashimoto 13 years ago
parent 7763411914
commit d3d7bfe876

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