summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-07-08 22:36:13 +0800
committerXiao Pan <xyz@flylightning.xyz>2025-07-08 22:36:13 +0800
commitf8b713212ed8b779414775f97ac4e692b902e39a (patch)
treefed1284a55c5704ea9b28a3eedaee0a005fc0c49
parentc1831e24ca81fe4fffed8eb62862178c41b2631b (diff)
init ba
-rw-r--r--etc/.cfgl/config4
-rw-r--r--etc/fstab8
-rw-r--r--etc/hostname2
-rw-r--r--etc/myconf/cfgl_meta2
-rw-r--r--etc/nftables.conf2
-rw-r--r--etc/systemd/network/default.network6
6 files changed, 11 insertions, 13 deletions
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.
# <file system> <dir> <type> <options> <dump> <pass>
-/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