Finish router-home split
All checks were successful
ShellCheck / shellcheck (push) Successful in 20s
All checks were successful
ShellCheck / shellcheck (push) Successful in 20s
This commit is contained in:
parent
265c659e3e
commit
982cb4f7cc
9 changed files with 21 additions and 7 deletions
|
@ -8,6 +8,8 @@ Host home
|
||||||
HostName home.strypsteen.com
|
HostName home.strypsteen.com
|
||||||
Host home-gw
|
Host home-gw
|
||||||
HostName home-gw.strypsteen.com
|
HostName home-gw.strypsteen.com
|
||||||
|
Host router
|
||||||
|
HostName 192.168.255.1
|
||||||
Host vps
|
Host vps
|
||||||
HostName vps.strypsteen.com
|
HostName vps.strypsteen.com
|
||||||
Host *
|
Host *
|
||||||
|
|
|
@ -4,7 +4,7 @@ After=podman-container.service
|
||||||
[Container]
|
[Container]
|
||||||
Image=docker.io/gitea/act_runner
|
Image=docker.io/gitea/act_runner
|
||||||
LogDriver=none
|
LogDriver=none
|
||||||
Volume=podman.volume:/run/podman:z
|
Volume=podman-run.volume:/run/podman:z
|
||||||
Volume=/var/lib/system-config/container-config/act-runner:/etc/act-runner:O
|
Volume=/var/lib/system-config/container-config/act-runner:/etc/act-runner:O
|
||||||
Volume=act-runner.volume:/data:U,Z
|
Volume=act-runner.volume:/data:U,Z
|
||||||
Tmpfs=/root/.cache
|
Tmpfs=/root/.cache
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
[Container]
|
[Container]
|
||||||
Image=quay.io/containers/podman
|
Image=quay.io/containers/podman
|
||||||
SecurityLabelDisable=true
|
SecurityLabelDisable=true
|
||||||
|
Unmask=/proc/sys
|
||||||
User=1000
|
User=1000
|
||||||
AddDevice=/dev/net/tun
|
AddDevice=/dev/net/tun
|
||||||
Exec=podman system service -t0 unix:///run/podman/podman.sock
|
Exec=podman system service -t0 unix:///run/podman/podman.sock
|
||||||
Volume=podman.volume:/run/podman:U,z
|
Volume=podman-storage.volume:/home/podman/.local/share/containers:U,Z
|
||||||
|
Volume=podman-run.volume:/run/podman:U,z
|
||||||
AutoUpdate=registry
|
AutoUpdate=registry
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
|
11
ignition/router.bu
Normal file
11
ignition/router.bu
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
variant: fcos
|
||||||
|
version: 1.5.0
|
||||||
|
boot_device:
|
||||||
|
luks:
|
||||||
|
tpm2: true
|
||||||
|
discard: true
|
||||||
|
passwd:
|
||||||
|
users:
|
||||||
|
- name: root
|
||||||
|
ssh_authorized_keys_local:
|
||||||
|
- ssh/desktop-sk.pub
|
|
@ -3,7 +3,5 @@ DNS=2620:fe::10#dns10.quad9.net 9.9.9.10#dns10.quad9.net
|
||||||
FallbackDNS=
|
FallbackDNS=
|
||||||
DNSSEC=true
|
DNSSEC=true
|
||||||
DNSOverTLS=true
|
DNSOverTLS=true
|
||||||
DNSStubListenerExtra=192.168.255.1
|
DNSStubListenerExtra=0.0.0.0
|
||||||
DNSStubListenerExtra=192.168.254.1
|
DNSStubListenerExtra=::
|
||||||
DNSStubListenerExtra=192.168.253.1
|
|
||||||
DNSStubListenerExtra=192.168.252.1
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
cp -R home/* /
|
cp -R home/* /
|
||||||
|
ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
|
||||||
sh setup-server.sh
|
sh setup-server.sh
|
||||||
systemd-tmpfiles --create
|
systemd-tmpfiles --create
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
cp -R server/* /
|
cp -R server/* /
|
||||||
systemctl disable --now docker.socket rpm-ostree-countme.timer
|
systemctl disable --now auditd docker.socket rpm-ostree-countme.timer
|
||||||
systemctl enable --now podman-auto-update.timer
|
systemctl enable --now podman-auto-update.timer
|
||||||
systemctl enable --global podman-auto-update.timer
|
systemctl enable --global podman-auto-update.timer
|
||||||
useradd -M containers || true
|
useradd -M containers || true
|
||||||
|
|
Loading…
Add table
Reference in a new issue