Skip to content

Commit c667705

Browse files
committed
Adds the rocky-container-generic element
This makes the rocky-container build more like the generic cloud image, see: https://git.rockylinux.org/rocky/kickstarts/-/blob/r8/Rocky-8-GenericCloud.ks
1 parent 5fd69ed commit c667705

File tree

4 files changed

+99
-0
lines changed

4 files changed

+99
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
rocky-container
2+
package-installs
3+
cloud-init-datasources
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# List taken from https://git.rockylinux.org/rocky/kickstarts/-/blob/r8/Rocky-8-GenericCloud.ks
2+
3+
chrony:
4+
dnf:
5+
yum:
6+
cloud-init:
7+
cloud-utils-growpart:
8+
NetworkManager:
9+
dracut-config-generic:
10+
dracut-norescue:
11+
firewalld:
12+
gdisk:
13+
grub2:
14+
kernel:
15+
nfs-utils:
16+
rsync:
17+
tar:
18+
dnf-utils:
19+
yum-utils:
20+
python3-jsonschema:
21+
qemu-guest-agent:
22+
dhcp-client:
23+
rocky-release:
24+
rng-tools:
25+
26+
aic94xx-firmware:
27+
uninstall: true
28+
alsa-firmware:
29+
uninstall: true
30+
alsa-lib:
31+
uninstall: true
32+
alsa-tools-firmware:
33+
uninstall: true
34+
ivtv-firmware:
35+
uninstall: true
36+
iwl100-firmware:
37+
uninstall: true
38+
iwl1000-firmware:
39+
uninstall: true
40+
iwl105-firmware:
41+
uninstall: true
42+
iwl135-firmware:
43+
uninstall: true
44+
iwl2000-firmware:
45+
uninstall: true
46+
iwl2030-firmware:
47+
uninstall: true
48+
iwl3160-firmware:
49+
uninstall: true
50+
iwl3945-firmware:
51+
uninstall: true
52+
iwl4965-firmware:
53+
uninstall: true
54+
iwl5000-firmware:
55+
uninstall: true
56+
iwl5150-firmware:
57+
uninstall: true
58+
iwl6000-firmware:
59+
uninstall: true
60+
iwl6000g2a-firmware:
61+
uninstall: true
62+
iwl6000g2b-firmware:
63+
uninstall: true
64+
iwl6050-firmware:
65+
uninstall: true
66+
iwl7260-firmware:
67+
uninstall: true
68+
libertas-sd8686-firmware:
69+
uninstall: true
70+
libertas-sd8787-firmware:
71+
uninstall: true
72+
libertas-usb8388-firmware:
73+
uninstall: true
74+
biosdevname:
75+
uninstall: true
76+
iprutils:
77+
uninstall: true
78+
plymouth:
79+
uninstall: true
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
2+
set -x
3+
fi
4+
set -eu
5+
set -o pipefail
6+
7+
echo -e 'rocky\tALL=(ALL)\tNOPASSWD: ALL' >> /etc/sudoers
8+
sed -i 's/name: cloud-user/name: rocky/g' /etc/cloud/cloud.cfg
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
2+
set -x
3+
fi
4+
set -eu
5+
set -o pipefail
6+
7+
# RUN this after DIB_DISTRIBUTION_MIRROR has been set up. It installs a
8+
# load of missing packages from the container image
9+
dnf install -y @core --allowerasing

0 commit comments

Comments
 (0)