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