Skip to content

Instantly share code, notes, and snippets.

@Fodoj
Last active September 20, 2018 17:21
Show Gist options
  • Save Fodoj/295e7c7d5fd2dd2797f5ec94cc9aa48e to your computer and use it in GitHub Desktop.
Save Fodoj/295e7c7d5fd2dd2797f5ec94cc9aa48e to your computer and use it in GitHub Desktop.
#version=DEVEL
# System authorization information
auth --enableshadow --passalgo=sha512
# Use CDROM installation media
cdrom
# Use graphical install
graphical
# Run the Setup Agent on first boot
firstboot --enable
ignoredisk --only-use=vda
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
# System language
lang en_US.UTF-8
# Network information
network --bootproto=dhcp --device=eth0 --onboot=yes --ipv6=auto --activate
network --hostname=teaming-demo.localdomain
# Root password
rootpw --iscrypted $6$QoDr6bS9T/vfei.j$cetxu.JRCq3xl3ZvmPDDwWyIrQnlQUJ0zVvT89Wksdp1ALNjGUcBeO27A.hZjqx6cYe6LwfcmcZWhqlaf006V/
# System services
services --enabled="chronyd"
# System timezone
timezone Europe/Berlin --isUtc
# System bootloader configuration
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=vda
autopart --type=lvm
# Partition clearing information
clearpart --none --initlabel
%packages
@^minimal
@core
chrony
kexec-tools
%end
%post --log=/root/grubby.log
/sbin/grubby --update-kernel=ALL --args="console=ttyS0"
mkdir /root/.ssh
echo "PUBLIC_KEY" >> /root/.ssh/authorized_keys
%end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment