forked from sig_core/kickstarts
install against stg
This commit is contained in:
parent
619d5f2660
commit
e4dbbeb677
@ -101,7 +101,11 @@ EOF
|
|||||||
set -x
|
set -x
|
||||||
# Install VBoxGuestAdditions for installed kernel
|
# Install VBoxGuestAdditions for installed kernel
|
||||||
kver=$(rpm -q --queryformat="%{VERSION}-%{RELEASE}.%{ARCH}" kernel)
|
kver=$(rpm -q --queryformat="%{VERSION}-%{RELEASE}.%{ARCH}" kernel)
|
||||||
|
echo "stg/rocky" > /etc/dnf/vars/contentdir
|
||||||
|
sed -i 's/^#baseurl/baseurl/g;s/^mirrorlist/#mirrorlist/g' /etc/yum.repos.d/rocky*repo
|
||||||
dnf -y install kernel-headers-$kver kernel-devel gcc make perl elfutils-libelf-devel
|
dnf -y install kernel-headers-$kver kernel-devel gcc make perl elfutils-libelf-devel
|
||||||
|
sed -i 's/^baseurl/#baseurl/g;s/^#mirrorlist/mirrorlist/g' /etc/yum.repos.d/rocky*repo
|
||||||
|
echo "pub/rocky" > /etc/dnf/vars/contentdir
|
||||||
curl -L -o /tmp/vboxadditions.iso https://download.virtualbox.org/virtualbox/6.1.40/VBoxGuestAdditions_6.1.40.iso
|
curl -L -o /tmp/vboxadditions.iso https://download.virtualbox.org/virtualbox/6.1.40/VBoxGuestAdditions_6.1.40.iso
|
||||||
mkdir -p /media/VBoxGuestAdditions
|
mkdir -p /media/VBoxGuestAdditions
|
||||||
mount -o loop,ro /tmp/vboxadditions.iso /media/VBoxGuestAdditions
|
mount -o loop,ro /tmp/vboxadditions.iso /media/VBoxGuestAdditions
|
||||||
|
Loading…
Reference in New Issue
Block a user