Fix documentations and samples mentioning `custom-commands` instead of `custom_commands` (#3745)
This commit is contained in:
parent
6910b7a872
commit
0cebaa00f7
|
|
@ -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
|
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
|
hostname,``str``,A string defining your machines hostname on the network *(defaults to ``archinstall``)*,No
|
||||||
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
|
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
|
||||||
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 <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
|
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
|
||||||
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
|
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
|
network_config,*`see options under Network Configuration`*,Sets which type of *(if any)* network configuration should be used,No
|
||||||
|
|
|
||||||
|
Can't render this file because it contains an unexpected character in line 13 and column 68.
|
|
|
@ -11,7 +11,7 @@ The option takes a list of arguments, an example is:
|
||||||
.. code-block:: json
|
.. code-block:: json
|
||||||
|
|
||||||
{
|
{
|
||||||
"custom-commands": [
|
"custom_commands": [
|
||||||
"hostname new-hostname"
|
"hostname new-hostname"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
"sys-language": "en_US",
|
"sys-language": "en_US",
|
||||||
"timezone": "Europe/Stockholm",
|
"timezone": "Europe/Stockholm",
|
||||||
"version": "2.3.1.dev0",
|
"version": "2.3.1.dev0",
|
||||||
"custom-commands": [
|
"custom_commands": [
|
||||||
"cd /home/devel; git clone https://aur.archlinux.org/paru.git",
|
"cd /home/devel; git clone https://aur.archlinux.org/paru.git",
|
||||||
"chown -R devel:devel /home/devel/paru",
|
"chown -R devel:devel /home/devel/paru",
|
||||||
"usermod -aG docker devel"
|
"usermod -aG docker devel"
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@
|
||||||
"description": "Set to true to use unified kernel images",
|
"description": "Set to true to use unified kernel images",
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
"custom-commands": {
|
"custom_commands": {
|
||||||
"description": "Custom commands to be run post install",
|
"description": "Custom commands to be run post install",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue