From ea377b22518ebbf1751dea2dae6f5e08c1e6ef6f Mon Sep 17 00:00:00 2001 From: Omar Abdulaziz Date: Mon, 8 Dec 2025 12:55:21 +0200 Subject: [PATCH 1/2] Remove unused network namespace cleanup function as it is no longer needed during deprovisioning. --- cmds/modules/netlightd/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmds/modules/netlightd/main.go b/cmds/modules/netlightd/main.go index 6d2b9ad8..72b0a60e 100644 --- a/cmds/modules/netlightd/main.go +++ b/cmds/modules/netlightd/main.go @@ -16,7 +16,6 @@ import ( "github.com/threefoldtech/zosbase/pkg/netlight/ifaceutil" "github.com/threefoldtech/zosbase/pkg/netlight/public" "github.com/threefoldtech/zosbase/pkg/netlight/resource" - "github.com/threefoldtech/zosbase/pkg/network" // import network just for cleanup orphaned namespaces "github.com/urfave/cli/v2" "github.com/cenkalti/backoff/v3" @@ -79,7 +78,8 @@ func action(cli *cli.Context) error { waitMyceliumBin() - network.CleanupOrphanedNamespaces() + // Note: disabled; not needed anymore, namespaces are cleaned up while deprovisioning + // network.CleanupOrphanedNamespaces() if err := bootstrap.DefaultBridgeValid(); err != nil { return errors.Wrap(err, "invalid setup") From 3bf891d8235e3b487765fcabf047c6ba103592de Mon Sep 17 00:00:00 2001 From: Omar Abdulaziz Date: Mon, 8 Dec 2025 13:31:28 +0200 Subject: [PATCH 2/2] Update QEMU Makefile to allocate 8GB of memory for node-02 during execution --- qemu/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu/Makefile b/qemu/Makefile index 12f71be3..5e17ef42 100644 --- a/qemu/Makefile +++ b/qemu/Makefile @@ -26,4 +26,4 @@ net: run: @echo "Running your node" - sudo ./vm.sh -g -n node-02 -c "farmer_id=$(id) version=v3 printk.devmsg=on runmode=dev nomodeset ssh-user=$(user)" + sudo ./vm.sh -m 8 -n node-02 -c "farmer_id=$(id) version=v3 printk.devmsg=on runmode=dev nomodeset ssh-user=$(user)"