Skip to content

Commit

Permalink
when get-config-dir runs HOME=/. this means that any
Browse files Browse the repository at this point in the history
keys/known_hosts that may have been set up in /root/.ssh config are
available.  this change prefix the curl command with HOME=/root
patch by andrew bezella <andrew@diatribes.org>
  • Loading branch information
Thomas Lange committed Jul 19, 2016
1 parent 209bc97 commit a769b99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/get-config-dir-http
Expand Up @@ -33,7 +33,7 @@ base=${file%%.*}

# now download tarball of config space
echo -n "Getting configuration space tarball from $FAI_CONFIG_SRC ..."
curl -f -O --retry 3 $FAI_CONFIG_SRC
HOME=/root curl -f -O --retry 3 $FAI_CONFIG_SRC
ret=$?
if [ $? -eq 0 ]; then
echo "done"
Expand Down

0 comments on commit a769b99

Please sign in to comment.