From f8b713212ed8b779414775f97ac4e692b902e39a Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Tue, 8 Jul 2025 22:36:13 +0800 Subject: init ba --- etc/.cfgl/config | 4 ++-- etc/fstab | 8 +++++++- etc/hostname | 2 +- etc/myconf/cfgl_meta | 2 -- etc/nftables.conf | 2 +- etc/systemd/network/default.network | 6 ------ 6 files changed, 11 insertions(+), 13 deletions(-) delete mode 100644 etc/systemd/network/default.network diff --git a/etc/.cfgl/config b/etc/.cfgl/config index 6bdb01ac..fab45d2b 100644 --- a/etc/.cfgl/config +++ b/etc/.cfgl/config @@ -11,6 +11,6 @@ fetch = +refs/heads/*:refs/remotes/origin/* [commit] gpgsign = false -[branch "ru"] +[branch "ba"] remote = origin - merge = refs/heads/ru + merge = refs/heads/ba diff --git a/etc/fstab b/etc/fstab index ac6aa633..07259ab8 100644 --- a/etc/fstab +++ b/etc/fstab @@ -2,4 +2,10 @@ # See fstab(5) for details. # -/dev/vda1 / xfs rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota 0 1 +# /dev/sda2 +UUID=639b6f22-f804-4155-8711-bfd5cf757f91 / ext4 rw,relatime 0 1 + +# /dev/sda1 +UUID=e0a05dc5-99bb-47a9-81bd-04f897a464a9 /boot ext4 rw,relatime 0 2 + +/swapfile none swap defaults 0 0 diff --git a/etc/hostname b/etc/hostname index 4c5fdf06..5031b93e 100644 --- a/etc/hostname +++ b/etc/hostname @@ -1 +1 @@ -xyzru +xyzba diff --git a/etc/myconf/cfgl_meta b/etc/myconf/cfgl_meta index cefd0437..d31e6852 100644 --- a/etc/myconf/cfgl_meta +++ b/etc/myconf/cfgl_meta @@ -24,8 +24,6 @@ 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/default.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/wg-quick@wg0.service diff --git a/etc/nftables.conf b/etc/nftables.conf index dc22f26a..be70bebb 100644 --- a/etc/nftables.conf +++ b/etc/nftables.conf @@ -8,7 +8,7 @@ # needed for reload config using `sudo systemctl restart nftables` or `sudo nft -f /etc/nftables.conf` flush ruleset -define pub_iface = "eth0" +define pub_iface = "ens18" define wg_iface = "wg0" table inet my_table { diff --git a/etc/systemd/network/default.network b/etc/systemd/network/default.network deleted file mode 100644 index b1b56f25..00000000 --- a/etc/systemd/network/default.network +++ /dev/null @@ -1,6 +0,0 @@ -[Match] -Name=eth0 - -[Network] -Gateway=198.176.49.1 -Address=198.176.49.213/24 -- cgit v1.2.3-70-g09d2