VMware Documentation Fix - SED Syntax
we should only create the backup file on the first `sed` modification. The second `sed` operation will create a backup with the changes from the first `sed` operation.
This commit is contained in:
parent
f5ee8b8b7d
commit
e72d03cfc6
|
@ -25,7 +25,7 @@ enable auto-upgrading:
|
|||
# when we update the linux images
|
||||
$fix_vmware_tools_script = <<SCRIPT
|
||||
sed -i.bak 's/answer AUTO_KMODS_ENABLED_ANSWER no/answer AUTO_KMODS_ENABLED_ANSWER yes/g' /etc/vmware-tools/locations
|
||||
sed -i.bak 's/answer AUTO_KMODS_ENABLED no/answer AUTO_KMODS_ENABLED yes/g' /etc/vmware-tools/locations
|
||||
sed -i 's/answer AUTO_KMODS_ENABLED no/answer AUTO_KMODS_ENABLED yes/g' /etc/vmware-tools/locations
|
||||
SCRIPT
|
||||
|
||||
Vagrant.configure(2) do |config|
|
||||
|
|
Loading…
Reference in New Issue