Skip to content

Instantly share code, notes, and snippets.

@comzeradd
Created May 9, 2017 18:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save comzeradd/4cfb80973c83c9771808c5884e30dbb5 to your computer and use it in GitHub Desktop.
Save comzeradd/4cfb80973c83c9771808c5884e30dbb5 to your computer and use it in GitHub Desktop.
fedora-arm headless
USER= # your user account
rm /run/media/$USER/__/etc/systemd/system/graphical.target.wants/initial-setup-graphical.service
rm /run/media/$USER/__/etc/systemd/system/multi-user.target.wants/initial-setup-text.service
mkdir /run/media/$USER/__/root/.ssh/
cat /home/$USER/.ssh/id_rsa.pub >> /run/media/$USER/__/root/.ssh/authorized_keys
chmod -R u=rwX,o=,g= /run/media/$USER/__/root/.ssh/
@comzeradd
Copy link
Author

comzeradd commented May 9, 2017

Once you boot and ssh you can run the initial setup script manually
/usr/libexec/run-initial-setup

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