archinstall/docs/cli_parameters/config/custom_commands.rst

820 B

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> </head>

Custom Commands

Custom commands is a configuration entry that allows for executing custom commands post-installation. The commands are executed with arch-chroot.

The option takes a list of arguments, an example is:

System Message: WARNING/2 (<stdin>, line 11)

Cannot analyze code. Pygments package not found.

.. 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/

</html>