From d312ff1aa152f9900acaaa38f5255936e4da7324 Mon Sep 17 00:00:00 2001 From: Guillaume BOEHM Date: Fri, 15 Aug 2025 17:50:50 +0200 Subject: [PATCH] Fix documentations and samples mentioning `custom-commands` instead of `custom_commands` --- docs/cli_parameters/config/config_options.csv | 2 +- docs/cli_parameters/config/custom_commands.rst | 2 +- examples/custom-command-sample.json | 2 +- schema.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/cli_parameters/config/config_options.csv b/docs/cli_parameters/config/config_options.csv index e9eccb7f75..68ca7981e8 100644 --- a/docs/cli_parameters/config/config_options.csv +++ b/docs/cli_parameters/config/config_options.csv @@ -8,7 +8,7 @@ disk_config,*Read more under* :ref:`disk config`,Contains the desired disk setup disk_encryption,*Read more about under* :ref:`disk encryption`,Parameters for disk encryption applied on top of ``disk_config``,No hostname,``str``,A string defining your machines hostname on the network *(defaults to ``archinstall``)*,No kernels,[ `linux `_!, `linux-hardened `_!, `linux-lts `_!, `linux-rt `_!, `linux-rt-lts `_!, `linux-zen `_ ],Defines which kernels should be installed and setup in the boot loader options,Yes -custom-commands,*Read more under* :ref:`custom commands`,Custom commands that will be run post-install chrooted inside the installed system,No +custom_commands,*Read more under* :ref:`custom commands`,Custom commands that will be run post-install chrooted inside the installed system,No locale_config,{kb_layout: `lang `__!, sys_enc: `Character encoding `_!, sys_lang: `locale `_},Defines the keyboard key map!, system encoding and system locale,No mirror_config,{custom_mirrors: [ https://... ]!, mirror_regions: { "Worldwide": [ "https://geo.mirror.pkgbuild.com/$repo/os/$arch" ] } },Sets various mirrors *(defaults to ISO's ``/etc/pacman.d/mirrors`` if not defined)*,No network_config,*`see options under Network Configuration`*,Sets which type of *(if any)* network configuration should be used,No diff --git a/docs/cli_parameters/config/custom_commands.rst b/docs/cli_parameters/config/custom_commands.rst index 727b1a10d0..6234bd9e42 100644 --- a/docs/cli_parameters/config/custom_commands.rst +++ b/docs/cli_parameters/config/custom_commands.rst @@ -11,7 +11,7 @@ The option takes a list of arguments, an example is: .. code-block:: json { - "custom-commands": [ + "custom_commands": [ "hostname new-hostname" ] } diff --git a/examples/custom-command-sample.json b/examples/custom-command-sample.json index 34d63d749a..8a82d0127a 100644 --- a/examples/custom-command-sample.json +++ b/examples/custom-command-sample.json @@ -24,7 +24,7 @@ "sys-language": "en_US", "timezone": "Europe/Stockholm", "version": "2.3.1.dev0", - "custom-commands": [ + "custom_commands": [ "cd /home/devel; git clone https://aur.archlinux.org/paru.git", "chown -R devel:devel /home/devel/paru", "usermod -aG docker devel" diff --git a/schema.json b/schema.json index 62fb8b102c..54bfbf9822 100644 --- a/schema.json +++ b/schema.json @@ -39,7 +39,7 @@ "description": "Set to true to use unified kernel images", "type": "boolean" }, - "custom-commands": { + "custom_commands": { "description": "Custom commands to be run post install", "type": "array", "items": {