mirror of
https://github.com/rancher/os.git
synced 2025-09-13 05:33:34 +00:00
Separate cloud init into two phases
This commit is contained in:
@@ -14,4 +14,4 @@ fi
|
||||
|
||||
rancherctl config get cloud_init
|
||||
|
||||
cloud-init -save
|
||||
cloud-init -save -network ${CLOUD_INIT_NETWORK:-true}
|
||||
|
@@ -40,6 +40,11 @@ fi
|
||||
|
||||
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
|
||||
|
||||
cat > /etc/respawn.conf << EOF
|
||||
|
Reference in New Issue
Block a user