mirror of
https://github.com/myronblair/ProxMailcow
synced 2026-06-30 17:50:40 -05:00
Fix nameserver space-separation and add systemd-networkd-wait-online fix
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user