File tree Expand file tree Collapse file tree 8 files changed +63
-12
lines changed
Expand file tree Collapse file tree 8 files changed +63
-12
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ NAME_VERSION := $(NAME)-$(VERSION)
66DATADIR := /usr/share/$(NAME )
77BINDIR := /usr/bin
88ETCDIR := /etc
9- TEMPLATES := centos_7 centos_8 centos_8_stream sl_7
9+ TEMPLATES := centos_7 centos_8 centos_stream_8 sl_7 rocky_8
1010
1111SHELL: =bash
1212
Original file line number Diff line number Diff line change 11# auth --enableshadow --passalgo=sha512 --kickstart
2- # For some reason libguest can't detect the default (xfs)
3- # file system for CentOS 7 installs; Overridden to use
4- # ext4 - Moate
5- autopart --type=lvm --fstype=ext4
62bootloader --location=mbr --timeout=1 --append=" console=tty0 console=ttyS0,115200"
73cdrom
84clearpart --all --initlabel
Original file line number Diff line number Diff line change 11# auth --enableshadow --passalgo=sha512 --kickstart
2- # For some reason libguest can't detect the default (xfs)
3- # file system for CentOS 7 installs; Overridden to use
4- # ext4 - Moate
5- autopart --type=lvm --fstype=ext4
62bootloader --location=mbr --timeout=1 --append=" console=tty0 console=ttyS0,115200"
73cdrom
84clearpart --all --initlabel
Original file line number Diff line number Diff line change 11{
22 "iso_checksum" : " sha256:24544c943c0f98f3096b027bb59a93b390853b2b3b538e13566515f9121be5fc" ,
33 "iso_url" : " http://centos.mirrors.tds.net/centos/8-stream/isos/x86_64/CentOS-Stream-8-x86_64-20201211-dvd1.iso" ,
4- "kickstart" : " centos_8_stream /kickstart.ks"
4+ "kickstart" : " centos_stream_8 /kickstart.ks"
55}
Original file line number Diff line number Diff line change 1+ # auth --enableshadow --passalgo=sha512 --kickstart
2+ bootloader --location=mbr --timeout=1 --append=" console=tty0 console=ttyS0,115200"
3+ cdrom
4+ clearpart --all --initlabel
5+ eula --agreed
6+ firewall --disabled
7+ firstboot --disabled
8+ install
9+ keyboard us
10+ lang en_US.UTF-8
11+ network --bootproto dhcp
12+ reboot
13+ # Using external repos does not work on CentOS 8 for some reason; must get everything from the ISO.
14+ # repo --name=AppStream --baseurl=http://mirror.chtc.wisc.edu/centos/8/AppStream/x86_64/kickstart/
15+ # repo --name=BaseOS --baseurl http://mirror.chtc.wisc.edu/centos/8/BaseOS/x86_64/kickstart/
16+ # repo --name=extras --baseurl=http://mirror.chtc.wisc.edu/centos/8/extras/x86_64/kickstart/
17+ # repo --name=PowerTools --baseurl=http://mirror.chtc.wisc.edu/centos/8/PowerTools/x86_64/kickstart/
18+ # repo --name=epel --baseurl=http://mirror.chtc.wisc.edu/epel/8/x86_64/
19+ # url --url http://mirror.chtc.wisc.edu/centos/8/BaseOS/x86_64/kickstart/
20+ rootpw --iscrypted $1$22074107$h/Rm55DAZ37/ZhaVMPmFP/
21+ selinux --permissive
22+ services --enabled=NetworkManager,sshd
23+ skipx
24+ text
25+ timezone --isUtc --ntpservers ntp1.cs.wisc.edu,ntp2.cs.wisc.edu,ntp3.cs.wisc.edu America/Chicago
26+ zerombr
27+
28+ %packages --instLangs=en_US.utf8 --excludedocs
29+ @core
30+ at
31+ bzip2
32+ findutils
33+ git-core
34+ gzip
35+ make
36+ policycoreutils-python-utils
37+ sed
38+ tar
39+ %end
40+
41+
42+ %post --log=/root/ks.log
43+ yum -y config-manager --enable extras
44+ yum -y config-manager --enable powertools
45+ yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
46+ yum -y distro-sync
47+ date > /etc/creation_date
48+ mkdir /mnt/user
49+ %end
Original file line number Diff line number Diff line change 1+ {
2+ "iso_checksum" : " sha256:ffe2fae67da6702d859cfb0b321561a5d616ce87a963d8a25b018c9c3d52d9a4" ,
3+ "iso_url" : " https://download.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8.4-x86_64-dvd1.iso" ,
4+ "kickstart" : " rocky_8/kickstart.ks"
5+ }
Original file line number Diff line number Diff line change 11Summary: Scripts for using packer for making VMU images
22Name: vmu-packer
3- Version: 1.1.1
3+ Version: 1.2.0
44Release: 1%{?dist }
55License: Apache 2.0
66Source0: %{name }-%{version }.tar.gz
@@ -31,6 +31,11 @@ echo '{"password":"ENTER PASSWORD HERE"}' > %{buildroot}/etc/%{name}/password.js
3131%dir /var/log/%{name }
3232
3333%changelog
34+ * Wed Jun 23 2021 Mátyás Selmeci <matyas@cs.wisc.edu> - 1.2.0-1
35+ - Name the CentOS Stream 8 image centos_stream_8 instead of centos_8_stream
36+ - Add Rocky Linux 8.4
37+ - Use default file system type in CentOS 8 images instead of forcing ext4
38+
3439* Tue Jan 12 2021 Mátyás Selmeci <matyas@cs.wisc.edu> - 1.1.1-1
3540- Build CentOS 8 Stream in vmu-rebuild-all
3641
Original file line number Diff line number Diff line change 33set -o pipefail
44set -o nounset
55
6- TEMPLATES=(centos_7 centos_8 sl_7 centos_8_stream )
6+ TEMPLATES=(centos_7 centos_8 sl_7 centos_stream_8 rocky_8 )
77
88DEPLOY_DIR=/staging/osg-images
99LOG_DIR=/var/log/vmu-packer
You can’t perform that action at this time.
0 commit comments