Skip to content

Commit dc64cab

Browse files
committed
Clean up
1 parent 1f255da commit dc64cab

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

include/bootstrap/fedora/deploy.sh

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -92,21 +92,10 @@ do_install()
9292

9393
component_exec core/mnt core/net
9494

95-
# TODO: Remove this before creating PR
96-
msg -n "Replacing urls to local mirror ..."
97-
chroot_exec /usr/bin/find /etc/yum.repos.d/ -name "*.repo" -type f -exec /usr/bin/sed -i 's/#baseurl=https\?:\/\/download.fedoraproject.org\/pub/baseurl=http:\/\/192.168.1.10\/pub\/fedoraproject.org/g' {} \;
98-
is_ok "fail" "done"
99-
100-
# TODO: Remove this before creating PR
101-
msg -n "Disabling metalink ..."
102-
chroot_exec /usr/bin/find /etc/yum.repos.d/ -name "*.repo" -type f -exec /usr/bin/sed -i 's/metalink=/#metalink=/g' {} \;
103-
is_ok "fail" "done"
104-
10595
msg -n "Setting dnf excludes ..."
10696
echo "exclude=kernel* *-firmware grubby" >> "${CHROOT_DIR}"/etc/dnf/dnf.conf
10797
is_ok "fail" "done"
10898

109-
# TODO: Think about it before creating PR
11099
msg -n "Upgrading packages ..."
111100
chroot_exec -u root dnf -y upgrade --refresh
112101
is_ok "fail" "done"

0 commit comments

Comments
 (0)