阿里云轻量dd VyOS

canoziia
2024-02-15 / 0 评论 / 164 阅读 / 正在检测是否收录...
  1. 记下原始的ip配置
  2. 重装到ubuntu,debian好像不行
  3. 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
  4. 设置网络等
  5. 扩容目录:首先添加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

    最后更新系统到最新

1

评论 (0)

取消