From cde82ec07f72c988accdd18619f94c9db5fb177a Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 16 Sep 2016 20:59:06 +0200 Subject: added another automatized approach using virsh tools --- other/kickstarts/handmade/Centos5-32.cfg | 24 ++++++++++++++++++++++++ other/kickstarts/handmade/Centos5-64.cfg | 24 ++++++++++++++++++++++++ other/kickstarts/handmade/Centos6-32.cfg | 30 ++++++++++++++++++++++++++++++ other/kickstarts/handmade/Centos6-64.cfg | 30 ++++++++++++++++++++++++++++++ other/kickstarts/handmade/Centos7-64.cfg | 32 ++++++++++++++++++++++++++++++++ 5 files changed, 140 insertions(+) create mode 100644 other/kickstarts/handmade/Centos5-32.cfg create mode 100644 other/kickstarts/handmade/Centos5-64.cfg create mode 100644 other/kickstarts/handmade/Centos6-32.cfg create mode 100644 other/kickstarts/handmade/Centos6-64.cfg create mode 100644 other/kickstarts/handmade/Centos7-64.cfg (limited to 'other/kickstarts/handmade') diff --git a/other/kickstarts/handmade/Centos5-32.cfg b/other/kickstarts/handmade/Centos5-32.cfg new file mode 100644 index 0000000..0aa25ef --- /dev/null +++ b/other/kickstarts/handmade/Centos5-32.cfg @@ -0,0 +1,24 @@ +# Kickstart file automatically generated by anaconda. + +install +url --url http://swissmirror.silyus.net/centos/5.8/os/i386 +lang en_US.UTF-8 +keyboard us +network --device eth0 --bootproto dhcp --hostname CentOS-5-32-Master +rootpw --iscrypted $1$U9eue073$hpWqFVoP4I6.dvT0qz2uB/ +firewall --enabled --port=22:tcp +authconfig --enableshadow --enablemd5 +selinux --enforcing +timezone --utc Europe/Zurich +bootloader --location=mbr --driveorder=vda +# The following is the partition information you requested +# Note that any partitions you deleted are not expressed +# here so unless you clear all partitions first, this is +# not guaranteed to work +#clearpart --linux +#part / --fstype ext3 --size=1 --grow --asprimary +#part swap --size=1024 --asprimary + +%packages +@core +sgpio diff --git a/other/kickstarts/handmade/Centos5-64.cfg b/other/kickstarts/handmade/Centos5-64.cfg new file mode 100644 index 0000000..a6e22a7 --- /dev/null +++ b/other/kickstarts/handmade/Centos5-64.cfg @@ -0,0 +1,24 @@ +# Kickstart file automatically generated by anaconda. + +install +url --url http://swissmirror.silyus.net/centos/5.8/os/x86_64 +lang en_US.UTF-8 +keyboard us +network --device eth0 --bootproto dhcp --hostname CentOS-5-64-Master +rootpw --iscrypted $1$LlZErziA$y7scQObxRfmO4HZc0wfhO0 +firewall --enabled --port=22:tcp +authconfig --enableshadow --enablemd5 +selinux --enforcing +timezone --utc Europe/Zurich +bootloader --location=mbr --driveorder=vda +# The following is the partition information you requested +# Note that any partitions you deleted are not expressed +# here so unless you clear all partitions first, this is +# not guaranteed to work +#clearpart --linux +#part / --fstype ext3 --size=1 --grow --asprimary +#part swap --size=1024 --asprimary + +%packages +@core +sgpio diff --git a/other/kickstarts/handmade/Centos6-32.cfg b/other/kickstarts/handmade/Centos6-32.cfg new file mode 100644 index 0000000..13f9a29 --- /dev/null +++ b/other/kickstarts/handmade/Centos6-32.cfg @@ -0,0 +1,30 @@ +# Kickstart file automatically generated by anaconda. + +#version=DEVEL +install +url --url=http://swissmirror.silyus.net/centos/6.3/os/i386 +lang en_US.UTF-8 +keyboard us +network --onboot yes --device eth0 --bootproto dhcp --noipv6 +rootpw --iscrypted $6$cybIqb74.gcQQCoV$oqwTnlZbhgVKc5yZJuRZDEhKjFNv2ha3WTbra9BhbvPxdfu/23Pr8XXA5YW6G.trb65Q60Ji3Vapmd5Eek4Od0 +firewall --service=ssh +authconfig --enableshadow --passalgo=sha512 +selinux --enforcing +timezone --utc Europe/Zurich +bootloader --location=mbr --driveorder=vda --append="crashkernel=auto rhgb quiet" +# The following is the partition information you requested +# Note that any partitions you deleted are not expressed +# here so unless you clear all partitions first, this is +# not guaranteed to work +#clearpart --none + + +#part swap --asprimary --size=1024 +#part / --fstype=ext4 --grow --asprimary --size=200 + +repo --name="CentOS" --baseurl=http://swissmirror.silyus.net/centos/6.3/os/i386 --cost=100 + +%packages +@core +@server-policy +%end \ No newline at end of file diff --git a/other/kickstarts/handmade/Centos6-64.cfg b/other/kickstarts/handmade/Centos6-64.cfg new file mode 100644 index 0000000..fa0954b --- /dev/null +++ b/other/kickstarts/handmade/Centos6-64.cfg @@ -0,0 +1,30 @@ +# Kickstart file automatically generated by anaconda. + +#version=DEVEL +install +url --url=http://swissmirror.silyus.net/centos/6.3/os/x86_64/ +lang en_US.UTF-8 +keyboard us +network --onboot yes --device eth0 --bootproto dhcp --noipv6 +rootpw --iscrypted $6$LhelAf3MiEiKEXoZ$4Ymdrfp0TJRtQf0DtkfRqjFzQddX72yYvRlHYapeDxMhdG.HGWm04XX1YOCTleKqsUio04hwbb6/1O.ea4RhM/ +firewall --service=ssh +authconfig --enableshadow --passalgo=sha512 +selinux --enforcing +timezone --utc Europe/Zurich +bootloader --location=mbr --driveorder=vda --append="crashkernel=auto rhgb quiet" +# The following is the partition information you requested +# Note that any partitions you deleted are not expressed +# here so unless you clear all partitions first, this is +# not guaranteed to work +#clearpart --none + + +#part swap --onpart=vda1 +#part / --fstype=ext4 --onpart=vda2 + +repo --name="CentOS" --baseurl=http://swissmirror.silyus.net/centos/6.3/os/x86_64/ --cost=100 + +%packages +@core +@server-policy +%end \ No newline at end of file diff --git a/other/kickstarts/handmade/Centos7-64.cfg b/other/kickstarts/handmade/Centos7-64.cfg new file mode 100644 index 0000000..b985f80 --- /dev/null +++ b/other/kickstarts/handmade/Centos7-64.cfg @@ -0,0 +1,32 @@ +#version=RHEL7 +# System authorization information +auth --enableshadow --passalgo=sha512 + +# Use CDROM installation media +cdrom +# 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=off --ipv6=auto +network --hostname=centos7test +# Root password +rootpw --iscrypted $6$3M1tV8rDh8wtW390$g0hBugm3NBQZrYm7cBL4XfARtvuqjzEI1kHBt965W/Hhrus4VteDumTQoLCiISjbTrv1Jnzqs.GWHtlh3Ewkh. +# System timezone +timezone America/New_York --isUtc +# System bootloader configuration +bootloader --location=mbr --boot-drive=vda +autopart --type=lvm +# Partition clearing information +clearpart --none --initlabel + +%packages +@core + +%end + -- cgit v1.2.3-54-g00ecf