Skip to content

Commit 718a9c4

Browse files
createdisk: Remove the fedora-updates repo after install qemu-user-static
If we don't remove that, it going to use for other packages instead of getting it from rhel side. Recently with ocp bundle for arm64 we found that this repo caused issue for gvisor rpms. ``` $ rpm -qa | grep gvisor gvisor-tap-vsock-gvforwarder-0.8.5-1.fc41.aarch64 gvisor-tap-vsock-0.8.5-1.fc41.aarch64 ```
1 parent 5815230 commit 718a9c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

createdisk.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ EOF
158158
${SCP} /tmp/fedora-updates.repo core@${VM_IP}:/tmp
159159
${SSH} core@${VM_IP} -- "sudo mv /tmp/fedora-updates.repo /etc/yum.repos.d"
160160
${SSH} core@${VM_IP} -- "sudo rpm-ostree install qemu-user-static-x86"
161+
${SSH} core@${VM_IP} -- "sudo rm -fr /etc/yum.repos.d/fedora-updates.repo"
161162
fi
162163

163164
# Beyond this point, packages added to the ADDITIONAL_PACKAGES variable won’t be installed in the guest

0 commit comments

Comments
 (0)