mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-12-25 12:52:04 +00:00
Compare commits
3 Commits
9aa81503b0
...
692d3aa4fe
| Author | SHA1 | Date | |
|---|---|---|---|
| 692d3aa4fe | |||
| 35663c8da8 | |||
| d3678328bc |
@ -96,8 +96,9 @@ OPTS_STAGE_1="\
|
||||
--hostname $CTHOSTNAME \
|
||||
--memory 128 \
|
||||
--swap 128 \
|
||||
--net0 name=lan,bridge=vmbr${LAN_BRIDGE},firewall=1,ip=dhcp,type=veth \
|
||||
--net1 name=admin,bridge=vmbr${ADMIN_BRIDGE},firewall=1,ip=dhcp,type=veth \
|
||||
--net0 name=wan,bridge=vmbr${WAN_BRIDGE},firewall=1${WAN_GATE:+,gw=${WAN_GATE}}${WAN_IP:+,ip=${WAN_IP}},type=veth \
|
||||
--net1 name=admin,bridge=vmbr${ADMIN_BRIDGE},firewall=1,ip=10.0.0.2/24,type=veth \
|
||||
--net2 name=lan,bridge=vmbr${LAN_BRIDGE},firewall=1,ip=10.1.1.2/24,type=veth \
|
||||
--storage local-lvm \
|
||||
--rootfs local-lvm:0.5 \
|
||||
--unprivileged 1 \
|
||||
@ -105,7 +106,6 @@ OPTS_STAGE_1="\
|
||||
"
|
||||
|
||||
OPTS_STAGE_2="\
|
||||
--net2 name=wan,bridge=vmbr${WAN_BRIDGE},firewall=1${WAN_GATE:+,gw=${WAN_GATE}}${WAN_IP:+,ip=${WAN_IP}},type=veth \
|
||||
--startup order=80 \
|
||||
--onboot 1 \
|
||||
"
|
||||
|
||||
@ -3,13 +3,13 @@ iface lo inet loopback
|
||||
iface lo inet6 loopback
|
||||
|
||||
auto admin
|
||||
iface admin inet dhcp
|
||||
#address 10.0.0.2
|
||||
iface admin inet static
|
||||
address 10.0.0.2
|
||||
hostname $(hostname)
|
||||
|
||||
auto lan
|
||||
iface lan inet dhcp
|
||||
#address 10.1.1.2
|
||||
iface lan inet static
|
||||
address 10.1.1.2
|
||||
hostname $(hostname)
|
||||
|
||||
auto wan
|
||||
|
||||
@ -65,3 +65,4 @@ certificatesResolvers:
|
||||
acme:
|
||||
email: '${EMAIL}'
|
||||
storage: '/etc/traefik/acme.json'
|
||||
tlsChallenge: {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user