commit: 4c08ba4de39d977ab5defff8688ea18aa64b09ef
parent 67d92a50f3ccdf0a1f7647c1368a9a3f250f1404
Author: fosslinux <fosslinux@aussies.space>
Date: Sun, 26 May 2024 20:42:29 +1000
Integrate configurator with rootfs.py
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/rootfs.py b/rootfs.py
@@ -49,6 +49,7 @@ def create_configuration_file(args):
config.write("DISK=sda1\n")
config.write("KERNEL_BOOTSTRAP=False\n")
config.write(f"BUILD_KERNELS={args.update_checksums or args.build_kernels}\n")
+ config.write(f"CONFIGURATOR={args.configurator}\n")
# pylint: disable=too-many-statements,too-many-branches
def main():
@@ -90,6 +91,9 @@ def main():
parser.add_argument("-i", "--interactive",
help="Use interactive prompts to resolve issues during bootstrap",
action="store_true")
+ parser.add_argument("--configurator",
+ help="Run the interactive configurator",
+ action="store_true")
parser.add_argument("-r", "--repo",
help="Path to prebuilt binary packages", nargs=None)
parser.add_argument("--early-preseed",