Skip to content

Commit

Permalink
Switch CentOS stream8 repos
Browse files Browse the repository at this point in the history
Since we still use it and the mirrorlist isn't pointing to the `vault`
repos. A command added to switch the repos. Now they will point `vault`,
letting us use `dnf` commands later on.

Signed-off-by: Liran Rotenberg <[email protected]>
  • Loading branch information
liranr23 committed Jun 19, 2024
1 parent 9c6a2ee commit 0397b88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions virt-v2v/warm/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ container_run_and_extract(
name = "appliance",
commands = [
"set -x",
"sed -i 's|^#baseurl=http://mirror.centos.org/\\(.*\\)$|baseurl=http://vault.centos.org/\001|' /etc/yum.repos.d/*",
"dnf -y update",
"dnf -y install libguestfs-devel libguestfs-appliance libguestfs-xfs libguestfs-winsupport supermin",
"depmod \\$(ls /lib/modules/ |tail -n1)",
Expand Down

0 comments on commit 0397b88

Please sign in to comment.