Skip to content

Instantly share code, notes, and snippets.

@borcean
Created April 15, 2016 21:58
Show Gist options
  • Save borcean/02237e3638da9d216006d271b54c0e93 to your computer and use it in GitHub Desktop.
Save borcean/02237e3638da9d216006d271b54c0e93 to your computer and use it in GitHub Desktop.
Kickstart for F23 PPC64
install
cdrom
lang en_US.UTF-8
keyboard us
network --bootproto=dhcp
rootpw fedora
firewall --disabled
authconfig --enableshadow --passalgo=sha512
selinux --permissive
timezone UTC
bootloader --location=mbr
text
skipx
zerombr
clearpart --all --initlabel
part prepboot --fstype=prepboot --asprimary --size=8 --ondisk=vda
part / --fstype="ext4" --grow --size=100 --ondisk=vda
bootloader --location=mbr --append="norhgb biosdevname=0"
auth --useshadow --enablemd5
firstboot --disabled
reboot
user --name=fedora --plaintext --password fedora
url --url=http://ftp.osuosl.org/pub/fedora-secondary/releases/23/Server/ppc64/os/
repo --name=updates --baseurl=http://ftp.osuosl.org/pub/fedora-secondary/releases/23/Server/ppc64/os/
%packages --ignoremissing
bzip2
man
man-pages
net-tools
nfs-utils
perl-libwww-perl
rsync
tar
vim
wget
%end
%post
dnf -y upgrade
# update root certs
wget https://raw.githubusercontent.com/bagder/curl/master/lib/mk-ca-bundle.pl
perl mk-ca-bundle.pl /etc/pki/tls/certs/ca-bundle.crt
rm certdata.txt mk-ca-bundle.pl
# sudo
echo 'Defaults:fedora !requiretty' > /etc/sudoers.d/fedora
echo '%fedora ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers.d/fedora
chmod 440 /etc/sudoers.d/fedora
%end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment