Skip to content

Commit 0cebaa0

Browse files
Fix documentations and samples mentioning custom-commands instead of custom_commands (#3745)
1 parent 6910b7a commit 0cebaa0

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/cli_parameters/config/config_options.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ disk_config,*Read more under* :ref:`disk config`,Contains the desired disk setup
88
disk_encryption,*Read more about under* :ref:`disk encryption`,Parameters for disk encryption applied on top of ``disk_config``,No
99
hostname,``str``,A string defining your machines hostname on the network *(defaults to ``archinstall``)*,No
1010
kernels,[ `linux <https://wiki.archlinux.org/title/Kernel#Officially_supported_kernels>`_!, `linux-hardened <https://wiki.archlinux.org/title/Kernel#Officially_supported_kernels>`_!, `linux-lts <https://wiki.archlinux.org/title/Kernel#Officially_supported_kernels>`_!, `linux-rt <https://wiki.archlinux.org/title/Kernel#Officially_supported_kernels>`_!, `linux-rt-lts <https://wiki.archlinux.org/title/Kernel#Officially_supported_kernels>`_!, `linux-zen <https://wiki.archlinux.org/title/Kernel#Officially_supported_kernels>`_ ],Defines which kernels should be installed and setup in the boot loader options,Yes
11-
custom-commands,*Read more under* :ref:`custom commands`,Custom commands that will be run post-install chrooted inside the installed system,No
11+
custom_commands,*Read more under* :ref:`custom commands`,Custom commands that will be run post-install chrooted inside the installed system,No
1212
locale_config,{kb_layout: `lang <https://wiki.archlinux.org/title/Linux_console/Keyboard_configuration>`__!, sys_enc: `Character encoding <https://wiki.archlinux.org/title/Locale>`_!, sys_lang: `locale <https://wiki.archlinux.org/title/Locale>`_},Defines the keyboard key map!, system encoding and system locale,No
1313
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
1414
network_config,*`see options under Network Configuration`*,Sets which type of *(if any)* network configuration should be used,No

docs/cli_parameters/config/custom_commands.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The option takes a list of arguments, an example is:
1111
.. code-block:: json
1212
1313
{
14-
"custom-commands": [
14+
"custom_commands": [
1515
"hostname new-hostname"
1616
]
1717
}

examples/custom-command-sample.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"sys-language": "en_US",
2525
"timezone": "Europe/Stockholm",
2626
"version": "2.3.1.dev0",
27-
"custom-commands": [
27+
"custom_commands": [
2828
"cd /home/devel; git clone https://aur.archlinux.org/paru.git",
2929
"chown -R devel:devel /home/devel/paru",
3030
"usermod -aG docker devel"

schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"description": "Set to true to use unified kernel images",
4040
"type": "boolean"
4141
},
42-
"custom-commands": {
42+
"custom_commands": {
4343
"description": "Custom commands to be run post install",
4444
"type": "array",
4545
"items": {

0 commit comments

Comments
 (0)