builder/amazon/instance: sudo the ec2-bundle-vol by default
This commit is contained in:
parent
7763411914
commit
d3d7bfe876
|
@ -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}} " +
|
||||||
|
|
Loading…
Reference in New Issue