index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2023-11-21 14:34:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-21 14:34:30 +0100 |
commit | cc806d9c4ce29212c2848c15b4b184feace3e1ac (patch) | |
tree | 28f4f1cb3b943d178a07a37369d3133093c51e17 /docs/cli_parameters/config/custom_commands.rst | |
parent | e6344f93f7e476d05bbcd642f2ed91fdde545870 (diff) |
-rw-r--r-- | docs/cli_parameters/config/custom_commands.rst | 22 |
diff --git a/docs/cli_parameters/config/custom_commands.rst b/docs/cli_parameters/config/custom_commands.rst new file mode 100644 index 00000000..c1529020 --- /dev/null +++ b/docs/cli_parameters/config/custom_commands.rst @@ -0,0 +1,22 @@ +.. _custom commands: + +Custom Commands +=============== + +| Custom commands is a configuration entry that allows for executing custom commands post-installation. +| The commands are executed with `arch-chroot <https://man.archlinux.org/man/extra/arch-install-scripts/arch-chroot.8.en>`_. + +The option takes a list of arguments, an example is: + +.. code-block:: json + + { + "custom-commands": [ + "hostname new-hostname" + ] + } + +| The following example will set a new hostname in the installed system. +| The example is just to illustrate that the command is not run in the ISO but inside the installed system after the base system is installed. + +More examples can be found in the code repository under `examples/ <https://github.com/archlinux/archinstall/tree/e6344f93f7e476d05bbcd642f2ed91fdde545870/examples>`_
\ No newline at end of file |