X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=overlay-boot;h=fc4b8b428e0d7eb1ffc2665b4c3aca5071f550f9;hb=29a16a6c382ee2ba123a415a0d8a0ff6c5643397;hp=d635da4347739db34020cd6856382d5c6f7827f9;hpb=7f766756c6d328a4a8d57a274a215f67376af68d;p=rrq%2Foverlay-boot.git diff --git a/overlay-boot b/overlay-boot index d635da4..fc4b8b4 100755 --- a/overlay-boot +++ b/overlay-boot @@ -4,6 +4,7 @@ # configuration file named on the command line. # See "man overlay-boot" for details. +set -x PROGRAMDIR="$(dirname $(realpath $0))" . $PROGRAMDIR/functions @@ -22,6 +23,7 @@ fi subhost_config setup_veth_cables $NAME $CABLES setup_overlay "$NAME" "$LIVE" "$LOWER" "$UPPER" "$WORK" +setup_cgroup2_accounting "$NAME" "$$" exithandler() { ip netns del $NAME