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"
|
cp "${SCRIPT_DIR}/snippets/npm-cloud-init.yaml" "${SNIPPETS_DIR}/npm-cloud-init.yaml"
|
||||||
|
|
||||||
# Configure cloud-init parameters
|
# Configure cloud-init parameters
|
||||||
|
# NOTE: Use space-separated nameservers (not comma) to avoid netplan bug
|
||||||
echo "[5/7] Configuring cloud-init..."
|
echo "[5/7] Configuring cloud-init..."
|
||||||
qm set ${VMID} \
|
qm set ${VMID} \
|
||||||
--ciuser ubuntu \
|
--ciuser ubuntu \
|
||||||
--cipassword 'mailstack2024!' \
|
--cipassword 'mailstack2024!' \
|
||||||
--ipconfig0 ip=${IP}/24,gw=${GW} \
|
--ipconfig0 ip=${IP}/24,gw=${GW} \
|
||||||
--nameserver "${DNS}" \
|
--nameserver "8.8.8.8 1.1.1.1" \
|
||||||
--searchdomain web.orbishosting.com \
|
--searchdomain web.orbishosting.com \
|
||||||
--cicustom "vendor=local:snippets/npm-cloud-init.yaml"
|
--cicustom "vendor=local:snippets/npm-cloud-init.yaml"
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ VMID=201
|
|||||||
VMNAME="Mailcow"
|
VMNAME="Mailcow"
|
||||||
IP="10.48.200.82"
|
IP="10.48.200.82"
|
||||||
GW="10.48.200.1"
|
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"
|
DISK_SIZE="80G"
|
||||||
RAM=8192
|
RAM=8192
|
||||||
CORES=4
|
CORES=4
|
||||||
|
|||||||
Reference in New Issue
Block a user