Compare commits

...

3 Commits

Author SHA1 Message Date
692d3aa4fe oops...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2023-12-31 05:21:48 +03:00
35663c8da8 tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2023-12-31 05:20:11 +03:00
d3678328bc made the gate static...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
2023-12-31 05:11:19 +03:00
3 changed files with 8 additions and 7 deletions

View File

@ -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 \
" "

View File

@ -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

View File

@ -65,3 +65,4 @@ certificatesResolvers:
acme: acme:
email: '${EMAIL}' email: '${EMAIL}'
storage: '/etc/traefik/acme.json' storage: '/etc/traefik/acme.json'
tlsChallenge: {}