diff options
author | Zalewski, Marvyn-Stephano <marvyn-stephano.zalewski@immonet.de> | 2018-08-03 16:36:11 +0200 |
---|---|---|
committer | Zalewski, Marvyn-Stephano <marvyn-stephano.zalewski@immonet.de> | 2018-08-03 16:36:11 +0200 |
commit | fa5c15e098c270241248bc2ff54882ffaeb7465d (patch) | |
tree | 2647f97264f10d82fe2687850b3bbd12a22bd29e /configs/example-templates-configs/kickstart | |
parent | 8f3439bbff2de768a90bce3a5c5bb5a48ac0904b (diff) |
added centos example and example kickstart file
Diffstat (limited to 'configs/example-templates-configs/kickstart')
-rw-r--r-- | configs/example-templates-configs/kickstart/centos.ks.slc | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/configs/example-templates-configs/kickstart/centos.ks.slc b/configs/example-templates-configs/kickstart/centos.ks.slc new file mode 100644 index 0000000..04d5455 --- /dev/null +++ b/configs/example-templates-configs/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 |