Replies: 2 comments 10 replies
-
I really do like the syntax of this. I would be in favor of implementing this type of meta/wrapper around the installation process some how. |
Beta Was this translation helpful? Give feedback.
-
I'll add to this discussion, that we haven't been able to conclude that very specific syntax now (/yet). Code wise, After the release I'll get around to taking a look at making a config-reading-function for the general options that could be invoked along the lines of the suggestion possibly. |
Beta Was this translation helpful? Give feedback.
-
I want to script my Arch Linux installation process to ensure that I install the OS correctly, apply all my preferences and be able to quickly install it to a new machine.
I originally planned to write my own shell script but I discovered archinstall yesterday and I think it is a much better option for me. I want to fix some installation settings like keymap, locale and installed packages but be able to set some things like passwords and partitions during the actual installation.
AFAIK I have two options with archinstall right now: use the guided install and pass some arguments via the command line, or I can write my own installation script based on the minimal installation. In the latter case I need to write my own input functions while in the former I can't customize the installation as much.
I want to write a script for my installation that looks somewhat like this:
Because the configuration and
prompt
don't change the system it can be tested without a virtual machine as a regular user. Theprompt
method can have different front-ends e.g. a terminal dialog and a GUI.The default guided installation would be a file that only contains:
Beta Was this translation helpful? Give feedback.
All reactions