Fix nameserver space-separation and add systemd-networkd-wait-online fix

This commit is contained in:
2026-04-23 05:03:34 +00:00
parent 6010fb4289
commit 404e4494b4
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -36,12 +36,13 @@ mkdir -p ${SNIPPETS_DIR}
cp "${SCRIPT_DIR}/snippets/npm-cloud-init.yaml" "${SNIPPETS_DIR}/npm-cloud-init.yaml"
# Configure cloud-init parameters
# NOTE: Use space-separated nameservers (not comma) to avoid netplan bug
echo "[5/7] Configuring cloud-init..."
qm set ${VMID} \
--ciuser ubuntu \
--cipassword 'mailstack2024!' \
--ipconfig0 ip=${IP}/24,gw=${GW} \
--nameserver "${DNS}" \
--nameserver "8.8.8.8 1.1.1.1" \
--searchdomain web.orbishosting.com \
--cicustom "vendor=local:snippets/npm-cloud-init.yaml"
+1 -1
View File
@@ -8,7 +8,7 @@ VMID=201
VMNAME="Mailcow"
IP="10.48.200.82"
GW="10.48.200.1"
DNS="8.8.8.8,1.1.1.1"
DNS="8.8.8.8 1.1.1.1"
DISK_SIZE="80G"
RAM=8192
CORES=4