Skip to content

Commit 928769b

Browse files
Enhance uninstaller script to remove additional DAppNode networks and suppress errors
1 parent d330a0a commit 928769b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/dappnode_uninstall.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ uninstall() {
9090
docker volume rm "$volume" &>/dev/null
9191
done
9292

93-
# Remove dncore_network
94-
echo "Removing docker dncore_network"
95-
docker network remove dncore_network || echo "dncore_network already removed"
93+
# Remove dncore_network dnprivate_network dnpublic_network gnosis_network holesky_network hoodi_network lukso_network mainnet_network prater_network sepolia_network starknet_network starknet_sepolia_network
94+
echo "Removing dappnode networks..."
95+
docker network remove dncore_network dnprivate_network dnpublic_network gnosis_network holesky_network hoodi_network lukso_network mainnet_network prater_network sepolia_network starknet_network starknet_sepolia_network &>/dev/null || true
9696

9797
# Clean up host DNS resolution artifacts (--resolve-from-host)
9898
if $IS_LINUX; then

0 commit comments

Comments
 (0)