- 记下原始的ip配置
- 重装到ubuntu,debian好像不行
- dd并重启
curl -L -s https://github.com/darknightlab/vyos-arm64-autobuild/releases/download/1.5-rolling-202402141033/vyos-kvm.img.gz | gzip -d -c | sudo dd of=/dev/vda bs=4M status=progress
reboot
- 设置网络等
- 扩容目录:首先添加debian源
deb https://ftp.debian.org/debian/ bookworm contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ bookworm contrib main non-free non-free-firmware
deb https://ftp.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware
deb https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware
deb https://ftp.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware
# deb-src https://ftp.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware
deb https://security.debian.org/debian-security/ bookworm-security contrib main non-free non-free-firmware
# deb-src https://security.debian.org/debian-security/ bookworm-security contrib main non-free non-free-firmware
然后
apt install cloud-utils
growpart /dev/vda 3
resize2fs /dev/vda3
最后更新系统到最新