diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-10-29 03:09:49 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-10-29 03:09:49 +0800 |
| commit | 57579e2b1bb80c53a379c8c3261610c8a54492c8 (patch) | |
| tree | be8160767bebeedbfff1928832a00b7e2c85fe13 /debian-container/debian-container.sh | |
| parent | aeb1ab2c3e960c6eb38ee2c9b18519b9b3bd8fa4 (diff) | |
| download | rutils-master.tar.gz rutils-master.tar.xz | |
Add commands to inspect and clean up stale NAT namespaces, veth links, bridges, and firewall rules.HEADmaster
Signed-off-by: Richard Qin <richard.qin.x@gmail.com>
Diffstat (limited to 'debian-container/debian-container.sh')
| -rwxr-xr-x | debian-container/debian-container.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian-container/debian-container.sh b/debian-container/debian-container.sh index da7a4f2..288a6e8 100755 --- a/debian-container/debian-container.sh +++ b/debian-container/debian-container.sh @@ -31,7 +31,7 @@ esac dc_require_root case "$DC_ACTION" in - base-create|init|enter|exec|resize|delete) + base-create|init|enter|exec|resize|delete|network-clean) # 防止多个会话同时读写同一 ext4 镜像。 dc_acquire_lock ;; @@ -53,6 +53,8 @@ esac case "$DC_ACTION" in base-create) dc_base_create "$@" ;; base-info) dc_manifest_info "$@" ;; + network-status) dc_network_status ;; + network-clean) dc_network_clean ;; init) dc_init "$@" ;; _init) dc_init_rootfs "$@" ;; enter) dc_enter "$@" ;; |
