deploy: time zone, netplan config

This commit is contained in:
Dict Xiong 2023-11-22 20:23:17 +08:00
parent bf5f6d8da8
commit 8f8e3eda4d
2 changed files with 24 additions and 0 deletions

View File

@ -12,6 +12,7 @@ apt update
apt install -y git vim zsh tmux
curl dotfiles.cn | bash -s - -al
chsh -s /bin/zsh
timedatectl set-timezone "Asia/Shanghai"
# ssh
sed -i "s/#Port 22/Port 12022/" /etc/ssh/sshd_config

View File

@ -0,0 +1,23 @@
network:
ethernets:
eno1:
dhcp4: true
dhcp6: true
routes:
- to: default
via: 192.168.16.118
metric: 90
- to: default
via: "2001:da8:bf:300::1"
metric: 90
on-link: true
eno2:
dhcp4: true
dhcp6: true
ens13np0:
addresses:
- 12.12.12.109/24
nameservers:
addresses: []
search: []
version: 2