Skip to content

Instantly share code, notes, and snippets.

@iamgini
Forked from nekop/rhel7.ks
Created July 3, 2018 04:03
Show Gist options
  • Save iamgini/b44025718e82e719552323fde0654571 to your computer and use it in GitHub Desktop.
Save iamgini/b44025718e82e719552323fde0654571 to your computer and use it in GitHub Desktop.
RHEL7 kickstart
install
url --url=http://example.com/your/path/to/rhel7/install/image/RHEL-7/7.0/Server/x86_64/os/
lang en_US.UTF-8
keyboard us
network --onboot yes --device eth0 --bootproto dhcp --ipv6 auto
rootpw foobar
firewall --service=ssh
authconfig --enableshadow --passalgo=sha512
selinux --enforcing
timezone --utc Asia/Tokyo
bootloader --location=mbr
text
skipx
zerombr
clearpart --all --initlabel
autopart
firstboot --disabled
reboot
%packages
@base
@core
%end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment