mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
Integrate configurator with rootfs.py
This commit is contained in:
parent
67d92a50f3
commit
4c08ba4de3
1 changed files with 4 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue