1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 06:40:31 +00:00

Allow hostname to be set by DHCP

This commit is contained in:
Darren Shepherd
2015-04-09 23:19:13 -07:00
parent 106fb36c8c
commit 474aeb4f99
2 changed files with 5 additions and 1 deletions

View File

@@ -142,6 +142,10 @@ download()
local file=${ARTIFACTS}/$(basename $2)
local hash=$1
if [ "$3" != "" ]; then
file=${ARTIFACTS}/$3
fi
if ! check $hash $file; then
echo Downloading $url to $file
curl -sL $url > $file