Enable git commands due to git CVE fix
Add /vagrant to "safe directory" global git config so Vagrant runs work properly again. Signed-off-by: Phil Estes <estesp@amazon.com>
This commit is contained in:
parent
68d9d462c9
commit
d9fc5f4b00
1
Vagrantfile
vendored
1
Vagrantfile
vendored
@ -107,6 +107,7 @@ EOF
|
|||||||
GOPATH=\\$HOME/go
|
GOPATH=\\$HOME/go
|
||||||
PATH=\\$GOPATH/bin:\\$PATH
|
PATH=\\$GOPATH/bin:\\$PATH
|
||||||
export GOPATH PATH
|
export GOPATH PATH
|
||||||
|
git config --global --add safe.directory /vagrant
|
||||||
EOF
|
EOF
|
||||||
source /etc/profile.d/sh.local
|
source /etc/profile.d/sh.local
|
||||||
SHELL
|
SHELL
|
||||||
|
Loading…
Reference in New Issue
Block a user