From 78ddc5bf5945f8e49d04ca10da10bb359535afb7 Mon Sep 17 00:00:00 2001 From: sourque Date: Thu, 12 Mar 2026 00:18:47 -0400 Subject: [PATCH] Fix bootnext attr in bhyve brand script Python brand wrapper was using "zone" to refer to the zone name, which was changed in c1ca7def6f2f to "name". Caused the zone to fail to boot when using the bootnext attr. --- src/brand/bhyve/boot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/brand/bhyve/boot.py b/src/brand/bhyve/boot.py index 803da041a..421f470de 100755 --- a/src/brand/bhyve/boot.py +++ b/src/brand/bhyve/boot.py @@ -301,7 +301,7 @@ def apply_bootnext(v): except Exception as e: error(f'Could not set VM boot next: {e}') - subprocess.run(['/usr/sbin/zonecfg', '-z', zone, + subprocess.run(['/usr/sbin/zonecfg', '-z', name, 'remove attr name=bootnext']) ##############################################################################