Update mermaids.sh
This commit is contained in:
parent
7b137de5cd
commit
3d9a59f754
@ -83,6 +83,7 @@ fi
|
||||
log "Creating Debian 12 LXC container $LXC_ID ($LXC_HOSTNAME)..."
|
||||
|
||||
# Build NET_CONFIG safely BEFORE pct create
|
||||
NET0_ARGS="name=eth0,bridge=$LXC_BRIDGE"
|
||||
if [[ -n "$LXC_IP" ]]; then
|
||||
NET0_ARGS="$NET0_ARGS,ip=$LXC_IP/$LXC_NETMASK"
|
||||
[[ -n "$LXC_GATEWAY" ]] && NET0_ARGS="$NET0_ARGS,gw=$LXC_GATEWAY"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user