diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-10-06 04:22:09 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-10-06 04:22:09 +0200 |
commit | c9e8493bace8888129dd432bdd976a0c3aa322e2 (patch) | |
tree | 1a49e4c3b478b19a30f397cac887a254426d2a6c /templates | |
parent | f03a04b8036b85ba452ff195bc3fddfc71ba5cb3 (diff) | |
download | kickstart-c9e8493bace8888129dd432bdd976a0c3aa322e2.tar.gz kickstart-c9e8493bace8888129dd432bdd976a0c3aa322e2.tar.bz2 kickstart-c9e8493bace8888129dd432bdd976a0c3aa322e2.tar.xz kickstart-c9e8493bace8888129dd432bdd976a0c3aa322e2.zip |
CentOS8 and testing with ipecompute* servers
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base-centos7 | 1 | ||||
-rw-r--r-- | templates/base-centos8 | 1 | ||||
-rw-r--r-- | templates/base-fedora | 1 | ||||
-rw-r--r-- | templates/packages-centos7 | 1 | ||||
-rw-r--r-- | templates/packages-centos8 | 2 | ||||
-rw-r--r-- | templates/packages-fedora | 2 | ||||
-rw-r--r-- | templates/post-arcmsr | 12 | ||||
l--------- | templates/post-ipecompute1 | 1 | ||||
-rw-r--r-- | templates/storage-hdd (renamed from templates/hdd) | 6 | ||||
-rw-r--r-- | templates/storage-raid0 (renamed from templates/raid0) | 4 | ||||
-rw-r--r-- | templates/storage-raid1 (renamed from templates/raid1) | 4 |
11 files changed, 28 insertions, 7 deletions
diff --git a/templates/base-centos7 b/templates/base-centos7 new file mode 100644 index 0000000..2838fb1 --- /dev/null +++ b/templates/base-centos7 @@ -0,0 +1 @@ +cdrom diff --git a/templates/base-centos8 b/templates/base-centos8 new file mode 100644 index 0000000..0639731 --- /dev/null +++ b/templates/base-centos8 @@ -0,0 +1 @@ +url --url="http://ftp.rz.uni-frankfurt.de/pub/mirrors/centos/8.0.1905/BaseOS/x86_64/os/" diff --git a/templates/base-fedora b/templates/base-fedora new file mode 100644 index 0000000..2838fb1 --- /dev/null +++ b/templates/base-fedora @@ -0,0 +1 @@ +cdrom diff --git a/templates/packages-centos7 b/templates/packages-centos7 new file mode 100644 index 0000000..fdc793e --- /dev/null +++ b/templates/packages-centos7 @@ -0,0 +1 @@ +python diff --git a/templates/packages-centos8 b/templates/packages-centos8 new file mode 100644 index 0000000..1b2dd8b --- /dev/null +++ b/templates/packages-centos8 @@ -0,0 +1,2 @@ +# python is required for ansible (and is not installed on Fedora) +python3 diff --git a/templates/packages-fedora b/templates/packages-fedora new file mode 100644 index 0000000..9aaeded --- /dev/null +++ b/templates/packages-fedora @@ -0,0 +1,2 @@ +python3 +python3-dnf
\ No newline at end of file diff --git a/templates/post-arcmsr b/templates/post-arcmsr new file mode 100644 index 0000000..be04566 --- /dev/null +++ b/templates/post-arcmsr @@ -0,0 +1,12 @@ +yum -y install https://www.elrepo.org/elrepo-release-8.0-2.el8.elrepo.noarch.rpm +yum -y install kmod-arcmsr + +# But there is already a newer kernel. +# weak-modules does not work automatically, add-kernel does not help +# by default dracut copies module for old kernel (good), but does not load it. -I copies module, but depmod is not executed. +kver=$(rpm -qv kernel | cut -d '-' -f 2-) +/sbin/weak-modules --add-kernel $kver +cp -r /lib/modules/4.18.0-80.el8.x86_64/extra/ /lib/modules/$kver +depmod -a +cp /boot/initramfs-$kver.img /boot/initramfs-$kver.img.orig +dracut -f /boot/initramfs-$kver.img -I /lib/modules/$kver/extra/arcmsr/arcmsr.ko --force-drivers arcmsr $kver diff --git a/templates/post-ipecompute1 b/templates/post-ipecompute1 new file mode 120000 index 0000000..11df7d6 --- /dev/null +++ b/templates/post-ipecompute1 @@ -0,0 +1 @@ +post-arcmsr
\ No newline at end of file diff --git a/templates/hdd b/templates/storage-hdd index 531581f..c8db327 100644 --- a/templates/hdd +++ b/templates/storage-hdd @@ -1,5 +1,5 @@ part biosboot --ondisk=@DISK1@ --asprimary --size=1 --fstype=biosboot part /boot --ondisk=@DISK1@ --asprimary --size @BOOTSIZE@ --fstype=ext4 -part swap --ondisk=@DISK1@ --asprimary --fstype=swap --recommended -part lvm.01 --ondisk=@DISK1@ --asprimary --size @SIZE@ --grow -volgroup sysvg lvm.01 +part swap --ondisk=@DISK1@ --asprimary --fstype=swap --recommended +part pv.01 --ondisk=@DISK1@ --asprimary --size @SIZE@ --grow +volgroup sysvg pv.01 diff --git a/templates/raid0 b/templates/storage-raid0 index f612fa2..15734ff 100644 --- a/templates/raid0 +++ b/templates/storage-raid0 @@ -2,8 +2,8 @@ part biosboot --ondisk=@DISK1@ --asprimary --size=1 --fstype=biosboot part biosboot --ondisk=@DISK2@ --asprimary --size=1 --fstype=biosboot part raid.01 --ondisk=@DISK1@ --asprimary --size @BOOTSIZE@ part raid.02 --ondisk=@DISK2@ --asprimary --size @BOOTSIZE@ -part swap --ondisk=@DISK1@ --asprimary --fstype=swap --recommended -part swap --ondisk=@DISK2@ --asprimary --fstype=swap --recommended +part swap --ondisk=@DISK1@ --asprimary --fstype=swap --recommended +part swap --ondisk=@DISK2@ --asprimary --fstype=swap --recommended part pv.01 --ondisk=@DISK1@ --asprimary --size @SIZE@ --grow part pv.02 --ondisk=@DISK2@ --asprimary --size @SIZE@ --grow raid /boot --level=RAID1 --device=md0 raid.01 raid.02 --fstype=ext4 diff --git a/templates/raid1 b/templates/storage-raid1 index bcdb1c7..6d7e6e6 100644 --- a/templates/raid1 +++ b/templates/storage-raid1 @@ -2,8 +2,8 @@ part biosboot --ondisk=@DISK1@ --asprimary --size=1 --fstype=biosboot part biosboot --ondisk=@DISK2@ --asprimary --size=1 --fstype=biosboot part raid.01 --ondisk=@DISK1@ --asprimary --size @BOOTSIZE@ part raid.02 --ondisk=@DISK2@ --asprimary --size @BOOTSIZE@ -part swap --ondisk=@DISK1@ --asprimary --fstype=swap --recommended -part swap --ondisk=@DISK2@ --asprimary --fstype=swap --recommended +part swap --ondisk=@DISK1@ --asprimary --fstype=swap --recommended +part swap --ondisk=@DISK2@ --asprimary --fstype=swap --recommended part raid.03 --ondisk=@DISK1@ --asprimary --size @SIZE@ --grow part raid.04 --ondisk=@DISK2@ --asprimary --size @SIZE@ --grow raid /boot --level=RAID1 --device=md0 raid.01 raid.02 --fstype=ext4 |