diff --git a/docs/cli_parameters/config/config_options.csv b/docs/cli_parameters/config/config_options.csv index a902d1d2..bb3ce2eb 100644 --- a/docs/cli_parameters/config/config_options.csv +++ b/docs/cli_parameters/config/config_options.csv @@ -2,7 +2,7 @@ Key,Value(s),Description,Required additional-repositories,[ `multilib `_!, `testing `_ ],Enables one or more of the testing and multilib repositories before proceeding with installation,No archinstall-language,`lang `__,Sets the TUI language used *(make sure to use the ``lang`` value not the ``abbr``)*,No audio_config,`pipewire `_!, `pulseaudio `_,Audioserver to be installed,No -bootloader_config,"{ bootloader: `Systemd-boot `_!, `grub `_!, `limine `_!, uki: ``true``/``false``!, removable: ``true``/``false`` }","Bootloader configuration. ``bootloader`` selects which bootloader to install *(grub/limine mandatory on BIOS)*. ``uki`` enables unified kernel images *(UEFI only!, systemd-boot/limine only)*. ``removable`` installs to default removable media path /EFI/BOOT/ instead of NVRAM *(UEFI only!, grub/limine only)*",Yes +bootloader_config,"{ bootloader: `Systemd-boot `_!, `grub `_!, `limine `_!, uki: ``true``/``false``!, removable: ``true``/``false``!, os_prober: ``true``/``false`` }","Bootloader configuration. ``bootloader`` selects which bootloader to install *(grub/limine mandatory on BIOS)*. ``uki`` enables unified kernel images *(UEFI only!, systemd-boot/limine only)*. ``removable`` installs to default removable media path /EFI/BOOT/ instead of NVRAM *(UEFI only!, grub/limine only)*. ``os_prober`` installs os-prober so GRUB can detect other operating systems such as Windows *(grub only)*",Yes debug,``true``!, ``false``,Enables debug output,No disk_config,*Read more under* :ref:`disk config`,Contains the desired disk setup to be used during installation,No disk_encryption,*Read more about under* :ref:`disk encryption`,Parameters for disk encryption applied on top of ``disk_config``,No diff --git a/docs/installing/guided.rst b/docs/installing/guided.rst index 562d2b29..2b55c42e 100644 --- a/docs/installing/guided.rst +++ b/docs/installing/guided.rst @@ -69,7 +69,8 @@ The contents of :code:`https://domain.lan/config.json`: "bootloader_config": { "bootloader": "Systemd-boot", "uki": false, - "removable": false + "removable": false, + "os_prober": false }, "bootloader": "Systemd-boot", "debug": false, diff --git a/examples/config-sample.json b/examples/config-sample.json index ac366b6c..47d8da53 100644 --- a/examples/config-sample.json +++ b/examples/config-sample.json @@ -6,7 +6,8 @@ "bootloader_config": { "bootloader": "Systemd-boot", "uki": false, - "removable": false + "removable": false, + "os_prober": false }, "debug": false, "disk_config": { diff --git a/tests/data/test_config.json b/tests/data/test_config.json index 618bd8e9..a2f01aae 100644 --- a/tests/data/test_config.json +++ b/tests/data/test_config.json @@ -24,7 +24,8 @@ "bootloader_config": { "bootloader": "Systemd-boot", "uki": false, - "removable": false + "removable": false, + "os_prober": true }, "services": [ "service_1", diff --git a/tests/test_args.py b/tests/test_args.py index 324f5a11..7c6f3d8b 100644 --- a/tests/test_args.py +++ b/tests/test_args.py @@ -232,6 +232,7 @@ def test_config_file_parsing( bootloader=Bootloader.Systemd, uki=False, removable=False, + os_prober=True, ), hostname='archy', kernels=['linux-zen'],