Skip to content

Instantly share code, notes, and snippets.

@jtinfors
Created November 22, 2016 18:20
Show Gist options
  • Save jtinfors/63bf61837b78e745d3f9d32af4dee089 to your computer and use it in GitHub Desktop.
Save jtinfors/63bf61837b78e745d3f9d32af4dee089 to your computer and use it in GitHub Desktop.
yup
#version=RHEL7
install
# System authorization information
auth --enableshadow --passalgo=sha512
# Use CDROM installation media
cdrom
# Accept EULA
eula --agreed
services --enabled=NetworkManager,sshd
reboot
# Run the Setup Agent on first boot
#firstboot --enable
ignoredisk --only-use=sda
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
# System language
lang en_US.UTF-8
# SELinux
selinux --enforcing
# Network information
network --bootproto=dhcp --device=eno16777736 --onboot=on --ipv6=off
network --hostname=default-vm
# Root password
rootpw --iscrypted HASHGOESHERE
# System timezone
timezone Europe/London --isUtc --ntpservers=prime.transformers
# System bootloader configuration
bootloader --location=mbr --boot-drive=sda
# Partition clearing information
clearpart --all --drives=sda
ignoredisk --only-use=sda
# LVM
%packages
@core
%end
%post
%end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment