Skip to content

Commit a21dcba

Browse files
committed
Use --allowerase on cloud-init for centos package drift
Remove duplicate cloud-init from hack/packages.txt Signed-off-by: Terence Lee <hone02@gmail.com>
1 parent dcd8be0 commit a21dcba

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

hack/packages.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Needed by tmt
22
rsync
3-
cloud-init
43
/usr/bin/flock
54
/usr/bin/awk
65
# Needed by tmt avc check

hack/provision-derived.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ cat <<KARGEOF >> /usr/lib/bootc/kargs.d/20-console.toml
5555
kargs = ["console=ttyS0,115200n8"]
5656
KARGEOF
5757
if test $cloudinit = 1; then
58-
dnf -y install cloud-init
58+
dnf -y install --allowerasing cloud-init
5959
ln -s ../cloud-init.target /usr/lib/systemd/system/default.target.wants
6060
# Allow root SSH login for testing with bcvk/tmt
6161
mkdir -p /etc/cloud/cloud.cfg.d

0 commit comments

Comments
 (0)