fixed network issue, fixed docker start issue

This commit is contained in:
jonathan
2025-11-08 21:49:06 +01:00
parent a0a31eae62
commit c070196b5d
6 changed files with 100 additions and 16 deletions

View File

@@ -1,7 +1,8 @@
[Match]
# Match all real Ethernet interfaces
Type=ether
Name=!lo !docker* !veth* !br* !virbr* !tap* !tun* !vmnet* !zt* !tailscale* !wg*
# Prevent virtual devices to match (e.g. docker0 and veth should be left alone)
Name=en* eth*
[Network]
DHCP=yes

View File

@@ -0,0 +1,9 @@
#!/bin/xonsh --no-rc
zpool create -o ashift=12 -O normalization=formD -O xattr=sa \
-O atime=off -O acltype=posix -O mountpoint=none nimux-zfs mirror /dev/vda /dev/vdb
zfs create -o mountpoint=/mnt/data nimux-zfs/data
zfs create -o mountpoint=/var/lib/docker nimux-zfs/docker
zfs create -o mountpoint=/var/lib/docker/volumes -o compression=zstd nimux-zfs/docker/volumes
zfs create -o mountpoint=none nimux-zfs/root
zfs create -o mountpoint=/run/nimux/overlay/etc/persist nimux-zfs/root/etc
zfs create -o mountpoint=/home nimux-zfs/root/home