summaryrefslogtreecommitdiff
path: root/scripts/vyos/cloud-init-debian.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyos/cloud-init-debian.sh')
-rw-r--r--scripts/vyos/cloud-init-debian.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/vyos/cloud-init-debian.sh b/scripts/vyos/cloud-init-debian.sh
index 6a66935..0f12066 100644
--- a/scripts/vyos/cloud-init-debian.sh
+++ b/scripts/vyos/cloud-init-debian.sh
@@ -19,11 +19,11 @@ apt install -y \
cloud-init \
cloud-utils \
ifupdown
-
+
systemctl enable cloud-init
-cat <<EOF > /etc/cloud/cloud.cfg.d/99_pve.cfg
-datasource_list: [ NoCloud, ConfigDrive ]
+cat <<EOF > /etc/cloud/cloud.cfg.d/99-disable_network_config.cfg
+network: {config: disabled}
EOF
-
+rm -rf /etc/network/interfaces.d/50-cloud-init || :