From 943864231aa4caf367ae86a066c1ef63c3d17d41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Tue, 8 Jan 2019 19:45:19 -0800 Subject: Rename example-templates-configs to data-dir --- configs/data-dir/kickstart/centos.ks.slc | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 configs/data-dir/kickstart/centos.ks.slc (limited to 'configs/data-dir/kickstart') diff --git a/configs/data-dir/kickstart/centos.ks.slc b/configs/data-dir/kickstart/centos.ks.slc new file mode 100644 index 0000000..04d5455 --- /dev/null +++ b/configs/data-dir/kickstart/centos.ks.slc @@ -0,0 +1,36 @@ +{{define "centos.ks" -}} +logging --level=info +cmdline + +url --url="http://mirror.netcologne.de/centos/{{.release}}/os/x86_64" + +network --bootproto dhcp --hostname {{.hostname}} + +rootpw root +auth --useshadow --passalgo=sha512 --enablefingerprint + +keyboard --vckeymap=de --xlayouts='de (nodeadkeys)' +lang en_US.UTF-8 +timezone Europe/Berlin --isUtc +zerombr +clearpart --drives=sda --all --disklabel=gpt +bootloader --append="crashkernel=auto panic=60" --location=mbr +part biosboot --fstype=biosboot --size=1 +part /boot --fstype="ext4" --ondisk=sda --size=500 --label=/boot +part swap --fstype="swap" --ondisk=sda --size=8000 +part pv.01 --size=1000 --grow --ondisk=sda +volgroup vg0 pv.01 +logvol / --fstype="ext4" --vgname=vg0 --size=10000 --name=lv_root --grow + +%packages +@core +%end + +%post +#!/bin/bash +hostnamectl set-hostname {{.hostname}} +echo -e "\n#######################\n # Finished Post Tasks\n#######################\n" +sleep 5 +%end +reboot +{{end}} \ No newline at end of file -- cgit v1.2.3