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

This commit is contained in:
Mitchell Hashimoto 2013-07-24 16:07:33 -05:00
parent 7763411914
commit d3d7bfe876
1 changed files with 1 additions and 1 deletions

View File

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