mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 02:21:34 +00:00
Bumps for azure 1.13.0-rc4-beta14
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
This commit is contained in:
parent
8a2bbdde6d
commit
049ec0b285
@ -34,8 +34,28 @@ start()
|
||||
|
||||
einfo "Running Windows Azure Linux Agent container"
|
||||
|
||||
export DOCKER_FOR_IAAS_VERSION="azure-v1.13.0-rc3-beta13"
|
||||
export DOCKER_FOR_IAAS_VERSION_DIGEST="b58fe8af38fd05d58fecf978451e74cbda303a5a04607202e428718c71c14065"
|
||||
export DOCKER_FOR_IAAS_VERSION="azure-v1.13.0-rc4-beta14"
|
||||
export DOCKER_FOR_IAAS_VERSION_DIGEST="85c28edf90026ae6713c435fa40c36a1710e963a6478a7cdeac3da944f6c13ad"
|
||||
|
||||
# "Fake" /etc/hostname setup for persistence across reboots
|
||||
#
|
||||
# Note the bind mount in 'docker run' below.
|
||||
if [ ! -d /var/etc/ ]
|
||||
then
|
||||
mkdir -p /var/etc
|
||||
fi
|
||||
if [ ! -f /var/etc/hostname ]
|
||||
then
|
||||
echo "moby" >/var/etc/hostname
|
||||
fi
|
||||
|
||||
if [ -f /var/lib/waagent/provisioned ]
|
||||
then
|
||||
# During provisioning, the Azure agent usually does this, but
|
||||
# on reboots, it will need to be invoked "manually".
|
||||
hostname -F /var/etc/hostname
|
||||
kill -HUP "$(pidof dhcpcd)"
|
||||
fi
|
||||
|
||||
docker run -d \
|
||||
--privileged \
|
||||
|
Loading…
Reference in New Issue
Block a user