From 74c522542a2d33b7f9a31d088c454bb2a7f050dd Mon Sep 17 00:00:00 2001 From: Sean Klein Date: Wed, 11 May 2022 20:43:56 -0400 Subject: [PATCH] remove zones on install --- package/src/bin/omicron-package.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/src/bin/omicron-package.rs b/package/src/bin/omicron-package.rs index d3daf67d67..1044e0c754 100644 --- a/package/src/bin/omicron-package.rs +++ b/package/src/bin/omicron-package.rs @@ -325,8 +325,9 @@ fn do_install( Ok(()) })?; - // Ensure we start from a clean slate - remove all packages. + // Ensure we start from a clean slate - remove all zones & packages. uninstall_all_packages(config); + uninstall_all_omicron_zones()?; // Extract and install the bootstrap service, which itself extracts and // installs other services.