- 记下原始的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源
“`source.list
deb https://ftp.debian.org/debian/ bookworm contrib main non-free non-free-firmware
</li>
</ol><h1>deb-src https://ftp.debian.org/debian/ bookworm contrib main non-free non-free-firmware</h1>
deb https://ftp.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware
<h1>deb-src https://ftp.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware</h1>
deb https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware
<h1>deb-src https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware</h1>
deb https://ftp.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware
<h1>deb-src https://ftp.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware</h1>
deb https://security.debian.org/debian-security/ bookworm-security contrib main non-free non-free-firmware
<h1>deb-src https://security.debian.org/debian-security/ bookworm-security contrib main non-free non-free-firmware</h1>
<pre><code class="line-numbers">然后
“`bash
apt install cloud-utils
growpart /dev/vda 3
resize2fs /dev/vda3
最后更新系统到最新