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:
@@ -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
|
||||
|
Reference in New Issue
Block a user