Execute systemctl daemon-reload to update docker unit proxy settings
Change-Id: Ifeaade1976d935b1f8026a723981b3f3e03d37bc Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
This commit is contained in:
parent
27b94cbd1b
commit
8e341b4e83
@ -26,6 +26,8 @@ stringData:
|
||||
gecos: deployer
|
||||
ssh_pwauth: True
|
||||
runcmd:
|
||||
- systemctl daemon-reload
|
||||
- systemctl restart docker
|
||||
- /bin/bash -c 'kernel_libsubdir="$(ls /lib/modules | head -1)"; config_dir="/lib/modules/${kernel_libsubdir}/build"; mkdir -p "${config_dir}"; if [ -f /run/live/medium/config ] && [ ! -f "${config_dir}/.config" ]; then ln -s /run/live/medium/config "${config_dir}/.config"; fi;'
|
||||
- kubeadm init --config /tmp/kubeadm.yaml
|
||||
- mkdir -p /opt/metal3-dev-env/ironic/html/images
|
||||
|
@ -24,6 +24,7 @@ spec:
|
||||
preKubeadmCommands:
|
||||
# Restart docker to apply any proxy settings
|
||||
- export HOME=/root
|
||||
- systemctl daemon-reload
|
||||
- systemctl restart docker
|
||||
initConfiguration:
|
||||
nodeRegistration:
|
||||
|
@ -22,6 +22,7 @@ spec:
|
||||
preKubeadmCommands:
|
||||
# Restart docker to apply any proxy settings
|
||||
- export HOME=/root
|
||||
- systemctl daemon-reload
|
||||
- systemctl restart docker
|
||||
users:
|
||||
- name: deployer
|
||||
|
Loading…
Reference in New Issue
Block a user