From 9ac08b18003b9975e1ac79a2098d549f4b893dd5 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Fri, 17 Nov 2023 19:03:30 -0800 Subject: update --- etc/myconf/cfgl_meta | 2 ++ etc/systemd/network/10-cloud-init-eth0.network | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 etc/systemd/network/10-cloud-init-eth0.network diff --git a/etc/myconf/cfgl_meta b/etc/myconf/cfgl_meta index 5a131b7d..5ac9480a 100644 --- a/etc/myconf/cfgl_meta +++ b/etc/myconf/cfgl_meta @@ -22,6 +22,8 @@ 755 root root //etc/sysctl.d 644 root root //etc/sysctl.d/99-sysctl.conf 755 root root //etc/systemd +755 root root //etc/systemd/network +644 systemd-network systemd-network //etc/systemd/network/10-cloud-init-eth0.network 755 root root //etc/systemd/system 755 root root //etc/systemd/system/multi-user.target.wants 777 root root //etc/systemd/system/multi-user.target.wants/qbittorrent-nox@xyz.service diff --git a/etc/systemd/network/10-cloud-init-eth0.network b/etc/systemd/network/10-cloud-init-eth0.network new file mode 100644 index 00000000..5c04b591 --- /dev/null +++ b/etc/systemd/network/10-cloud-init-eth0.network @@ -0,0 +1,15 @@ +[Address] +Address=82.153.138.108/24 + +[Match] +MACAddress=f6:f5:d6:c3:5e:4f +Name=eth0 + +[Network] +DHCP=no +DNS=9.9.9.9 1.1.1.1 +Domains=kyun.host + +[Route] +Gateway=82.153.138.1 + -- cgit v1.2.3-70-g09d2