Created
December 14, 2024 23:16
-
-
Save adelton/d6c069c4b680b5d126cdba3721dfb264 to your computer and use it in GitHub Desktop.
Fedora bootc kickstart (https://docs.fedoraproject.org/en-US/bootc/bare-metal/)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Basic setup | |
text | |
network --bootproto=dhcp --device=link --activate | |
# Basic partitioning | |
clearpart --all --initlabel --disklabel=gpt | |
reqpart --add-boot | |
part / --grow --fstype xfs | |
# Here's where we reference the container image to install - notice the kickstart | |
# has no `%packages` section! What's being installed here is a container image. | |
ostreecontainer --url quay.io/centos-bootc/centos-bootc:stream9 | |
firewall --disabled | |
services --enabled=sshd | |
# Only inject a SSH key for root | |
rootpw --iscrypted locked | |
sshkey --username root "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDKebyO1kzseLJUCOwNP9X8i6pPwiBgiYxLaMeLHYxLsqy2o4uX6dQfr1WcBdXa1coMr4N+gZ5dD2zoHb4rDe0yYFe5pDOIg6wiGdmE4/NRg8tE0MvyilH0NGQqmgCQMd76j0DIEviOS8Dc+kIPvD5q68lN0GSAZrR1K4G64OPfhN4rvq1OfiTVrOkNbmzyfX3+O5HSzyMkvAFkvbeE8CbFEOMIFI1scsyH5R81oFgssT7H6LHVgH2IUOgGSNl8sGnKqLY/dRqU+I4P8L5tSlkdXbAXNXj8EC3JG/yrqpRTKZeKKycOiMuuHtKotdnm4QNtmbEC/DFZYZZ2i93prG8ZTj8PAmOGSetCMhMBFdPgWBHCqyKzKBoVvZWStp854J2e8Fc3vPhSCLqBytdgbnMkWJKTR+V/V3aSEGFC0/dj/woU3xwE5LLYJa09m9WB8GdUbz5qhFmPaJpe99EHBHF5q8dhnNqPGfC0pQ2qPOOgDyLHrRhuYj1Dhtjli3gjwv8=" | |
reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment