2026.06.04
- 新增容器/虚拟机模板参数,支持
web、db、dev - 新增实例快照、备份、恢复、迁移和 macvlan 配置辅助脚本
- 安装脚本同步分发 CT/VM 创建与运维辅助脚本,卸载脚本同步清理残留
统一使用 export noninteractive=true 指定无需交互模式。
Use export noninteractive=true for unattended runs.
export noninteractive=true
export INCUS_TEMPLATE=web
bash buildct.sh web1 1 512 5 20001 20002 20025 300 300 N debian12
export INCUS_OP_ACTION=backup
export INCUS_OP_INSTANCE=web1
bash instance_ops.sh
export INCUS_MACVLAN_ACTION=attach
export INCUS_MACVLAN_INSTANCE=web1
bash macvlan.sh
export SWAP_ACTION=reset
bash scripts/swap2.sh国内(China Docs):
国际(English Docs):
说明文档中 incus 分区内容
自修补容器镜像源:
https://github.com/oneclickvirt/incus_images
English Docs:
Description of the incus partition contents in the documentation
Self-patching images sources:
https://github.com/oneclickvirt/incus_images
VPS融合怪测评脚本
https://github.com/oneclickvirt/ecs