Update network configuration to include VLAN tag
This commit is contained in:
@@ -85,7 +85,7 @@ pct create "$CTID" "$TEMPLATE" \
|
|||||||
--rootfs "${STORAGE}:${DISK_SIZE}" \
|
--rootfs "${STORAGE}:${DISK_SIZE}" \
|
||||||
--memory "$RAM" \
|
--memory "$RAM" \
|
||||||
--cores "$CORES" \
|
--cores "$CORES" \
|
||||||
--net0 "name=eth0,bridge=${BRIDGE},ip=dhcp" \
|
--net0 "name=eth0,bridge=${BRIDGE},ip=dhcp${VLAN_TAG:+,tag=${VLAN_TAG}}" \
|
||||||
--ostype debian \
|
--ostype debian \
|
||||||
--unprivileged 1 \
|
--unprivileged 1 \
|
||||||
--features "nesting=1" \
|
--features "nesting=1" \
|
||||||
|
|||||||
Reference in New Issue
Block a user