Skip to content

Instantly share code, notes, and snippets.

@seungjin
Last active August 3, 2018 07:22
Show Gist options
  • Save seungjin/43384cffbaed1edfb5d5308dd3222cd7 to your computer and use it in GitHub Desktop.
Save seungjin/43384cffbaed1edfb5d5308dd3222cd7 to your computer and use it in GitHub Desktop.
install
cdrom
#repo --name=base --baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/28/Everything/x86_64/os/
#url --url="http://download.fedoraproject.org/pub/fedora/linux/releases/28/Everything/x86_64/os/"
lang en_US.UTF-8
keyboard us-colemak
timezone --utc UTC
authselect --useshadow --enablemd5
selinux --disabled
firewall --disabled
services --enabled=NetworkManager,sshd
eula --agreed
ignoredisk --only-use=sda
rootpw --lock
user --name=seungjin --password=seungjin --groups=wheel
text # text mode install
#reboot
poweroff
bootloader --location=mbr
zerombr
clearpart --all --initlabel
#part swap --asprimary --fstype="swap" --size=1024
part /boot --fstype xfs --size=200
part / --fstype xfs --size 1 --grow
%anaconda
pwpolicy root --emptyok
pwpolicy seungjin --emptyok
%end
%packages
@core
%end
%post --log=/root/my-post-log
passwd -d seungjin
%end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment