summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-04-01 15:34:46 +0200
committerChristian Breunig <christian@breunig.cc>2023-04-01 15:34:46 +0200
commit754d45c69f1f34a7aa90377b469661f4fa1f0695 (patch)
tree84fb28bcad528e1ce8c0f251eff81c9f8e0fffd9
parent6db96d9cfd881cd20aa8a63441cd680137def75f (diff)
downloadvyatta-cfg-754d45c69f1f34a7aa90377b469661f4fa1f0695.tar.gz
vyatta-cfg-754d45c69f1f34a7aa90377b469661f4fa1f0695.zip
container: T5082: switch to netavark network stack
-rwxr-xr-xscripts/init/vyos-router4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/init/vyos-router b/scripts/init/vyos-router
index 8fdcc12..c614a4e 100755
--- a/scripts/init/vyos-router
+++ b/scripts/init/vyos-router
@@ -230,7 +230,9 @@ security_reset ()
rm -f /etc/iproute2/rt_tables.d/vyos-*.conf
# Container
- rm -f /etc/containers/storage.conf /etc/containers/registries.conf
+ rm -f /etc/containers/storage.conf /etc/containers/registries.conf /etc/containers/containers.conf
+ # Clean all networks and re-create them from our CLI
+ rm -f /etc/containers/networks/*
# System Options (SSH/cURL)
rm -f /etc/ssh/ssh_config.d/*vyos*.conf