mirror of
https://github.com/rancher/os.git
synced 2025-09-13 13:39:53 +00:00
Separate cloud init into two phases
This commit is contained in:
@@ -14,4 +14,4 @@ fi
|
|||||||
|
|
||||||
rancherctl config get cloud_init
|
rancherctl config get cloud_init
|
||||||
|
|
||||||
cloud-init -save
|
cloud-init -save -network ${CLOUD_INIT_NETWORK:-true}
|
||||||
|
@@ -40,6 +40,11 @@ fi
|
|||||||
|
|
||||||
cloud-init -execute
|
cloud-init -execute
|
||||||
|
|
||||||
|
if [ -x /var/lib/rancher/conf/cloud-config-script ]; then
|
||||||
|
echo "Running /var/lib/rancher/conf/cloud-config-script"
|
||||||
|
/var/lib/rancher/conf/cloud-config-script || true
|
||||||
|
fi
|
||||||
|
|
||||||
setup_ssh
|
setup_ssh
|
||||||
|
|
||||||
cat > /etc/respawn.conf << EOF
|
cat > /etc/respawn.conf << EOF
|
||||||
|
Reference in New Issue
Block a user