mirror of
https://github.com/rancher/os.git
synced 2025-08-31 06:11:12 +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
|
||||
|
@@ -5,4 +5,4 @@ cd $(dirname $0)/..
|
||||
source scripts/build-common
|
||||
|
||||
download 9a61da8dd88bc79f212e085fc3f5b6260ff82ceb https://github.com/rancherio/os-base/releases/download/v0.2.1/os-base.tar.xz
|
||||
download b56232025ec4fd71117ef099aa40e99c38e48296 https://github.com/rancherio/docker/releases/download/v1.6.0-rc4-rancher-1/docker
|
||||
download 244da0aa87904c60bcfaa8ec74798a7d3b229e73 https://github.com/rancherio/docker/releases/download/v1.6.0-rc4-rancher-2/docker-1.6.0-rc4 docker
|
||||
|
Reference in New Issue
Block a user