Skip to content

Commit b0ba284

Browse files
committed
Integrate configurator with rootfs.py
1 parent 698083d commit b0ba284

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rootfs.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ def create_configuration_file(args):
4949
config.write("DISK=sda1\n")
5050
config.write("KERNEL_BOOTSTRAP=False\n")
5151
config.write(f"BUILD_KERNELS={args.update_checksums or args.build_kernels}\n")
52+
config.write(f"CONFIGURATOR={args.configurator}\n")
5253

5354
# pylint: disable=too-many-statements,too-many-branches
5455
def main():
@@ -90,6 +91,9 @@ def main():
9091
parser.add_argument("-i", "--interactive",
9192
help="Use interactive prompts to resolve issues during bootstrap",
9293
action="store_true")
94+
parser.add_argument("--configurator",
95+
help="Run the interactive configurator",
96+
action="store_true")
9397
parser.add_argument("-r", "--repo",
9498
help="Path to prebuilt binary packages", nargs=None)
9599
parser.add_argument("--early-preseed",

0 commit comments

Comments
 (0)