Updated Autorun on Arch Live CD (markdown)
parent
fd98326051
commit
f6c6d43af2
|
|
@ -1,4 +1,4 @@
|
|||
This guides you on how to create a ISO that has Python and can run the arch installed in **unattended mode.**<br>
|
||||
This guides you on how to create a ISO that auto-starts archinstall.<br>
|
||||
We'll need to reconfigure the [releng](https://wiki.archlinux.org/index.php/Archiso#Setup) profile after it's been copied, to include Python etc.<br>
|
||||
To do so, we need to add some packages to `packages.x86_64` and add some commands to `customize_airootfs.sh`.
|
||||
```
|
||||
|
|
@ -10,12 +10,12 @@ git clone https://github.com/Torxed/archinstall.git
|
|||
chmod +x ~/archinstall/archinstall.py
|
||||
EOF
|
||||
# mkdir ./airootfs/etc/skel
|
||||
# echo '[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && sh -c "~/archinstall/archinstall.py --default"' >> ./airootfs/etc/skel/.zprofile
|
||||
# echo '[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && sh -c "~/archinstall/archinstall.py"' >> ./airootfs/etc/skel/.zprofile
|
||||
```
|
||||
|
||||
> Note: `~/archlive` might be different on your system, see [ArchISO#Setup](https://wiki.archlinux.org/index.php/archiso#Setup) for more info.
|
||||
|
||||
After all those commands are done, you can go ahead and run:
|
||||
After all those commands are done, you can go ahead and run *(Note that both commands are run as root, or sudo if you will)*:
|
||||
|
||||
# rm -v work*; ./build.sh -v
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue