Skip to content

Instantly share code, notes, and snippets.

@Ozymandias42
Last active March 12, 2021 23:29
Show Gist options
  • Save Ozymandias42/dccbf3f7e2d7279174841acb4d13e7b9 to your computer and use it in GitHub Desktop.
Save Ozymandias42/dccbf3f7e2d7279174841acb4d13e7b9 to your computer and use it in GitHub Desktop.

Raspberry Pi OS:
Write Image to SDcard. Add empty file named 'ssh' to sdcard root.
Ref.: https://hackernoon.com/raspberry-pi-headless-install-462ccabd75d0

Alpine Linux:
Extract Image to local disk. Create apkovl.tar.gz overlay file that sets up networking and ssh.
Put file to the root of the sdcard.
In the same way it's possible to create a apkovl.tar.gz overlay file that runs setup-alpine with pre-made answerfile.
Ref.: https://wiki.alpinelinux.org/wiki/Raspberry_Pi_-_Headless_Installation
Ref.: https://docs.alpinelinux.org/user-handbook/0.1a/Installing/setup_alpine.html#_answer_files

Fedora and CentOS with anaconda:
Write kickstart file and point to it via inst.ks=</path/to/ks.cfg> boot parameter
SSH keys and password need to be setup in ks.cfg file and activated via inst.sshd bootparameter
VNC can be activated via inst.vnc and inst.vncpassword=<password>
Ref.: https://docs.fedoraproject.org/en-US/fedora/rawhide/install-guide/advanced/Boot_Options/
Ref.: https://docs.fedoraproject.org/en-US/fedora/rawhide/install-guide/advanced/Kickstart_Installations/
Ref.: https://docs.fedoraproject.org/en-US/fedora/rawhide/install-guide/appendixes/Kickstart_Syntax_Reference/#appe-kickstart-syntax-reference
Ref.: https://linuxconfig.org/automating-linux-installations-with-kickstart

openSUSE with YaST:
Boot Parameter: vnc=1 vncpassword=<password> ssh=1 and ssh.password=<passoword>
Unattend install via autoinst.xml file and autoyast=<URL> boot-parameter to said file
Ref.: https://doc.opensuse.org/documentation/leap/startup/single-html/book.opensuse.startup/index.html#sec-boot-parameters-list
Ref.: https://doc.opensuse.org/projects/YaST/openSUSE10.3/autoinstall/createprofile.scripts.html
Ref.: https://documentation.suse.com/sles/11-SP4/html/SLES-all/book-autoyast.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment