turn off vbox guest additions
This commit is contained in:
parent
7300e9bea3
commit
419871a5dc
44
config.sh
44
config.sh
@ -657,28 +657,28 @@ EOF
|
||||
|
||||
# Install VBoxGuestAdditions for installed kernel.
|
||||
# https://git.resf.org/sig_kernel/meta/issues/13
|
||||
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
|
||||
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/7.0.16/VBoxGuestAdditions_7.0.16.iso
|
||||
mkdir -p /media/VBoxGuestAdditions
|
||||
mount -o loop,ro /tmp/vboxadditions.iso /media/VBoxGuestAdditions
|
||||
mkdir -p /tmp/VBoxGuestAdditions
|
||||
sh /media/VBoxGuestAdditions/VBoxLinuxAdditions.run --nox11 --noexec --keep --target /tmp/VBoxGuestAdditions
|
||||
pushd /tmp/VBoxGuestAdditions
|
||||
./install.sh
|
||||
/sbin/rcvboxadd quicksetup all
|
||||
popd
|
||||
ls "/lib/modules/${kver}/misc/"
|
||||
modinfo "/lib/modules/${kver}/misc/vboxsf.ko"
|
||||
rm -rf /tmp/VBoxGuestAdditions
|
||||
umount /media/VBoxGuestAdditions
|
||||
rm -f /tmp/vboxadditions.iso
|
||||
rmdir /media/VBoxGuestAdditions
|
||||
dnf -y remove kernel-devel gcc make perl elfutils-libelf-devel
|
||||
#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
|
||||
#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/7.0.16/VBoxGuestAdditions_7.0.16.iso
|
||||
#mkdir -p /media/VBoxGuestAdditions
|
||||
#mount -o loop,ro /tmp/vboxadditions.iso /media/VBoxGuestAdditions
|
||||
#mkdir -p /tmp/VBoxGuestAdditions
|
||||
#sh /media/VBoxGuestAdditions/VBoxLinuxAdditions.run --nox11 --noexec --keep --target /tmp/VBoxGuestAdditions
|
||||
#pushd /tmp/VBoxGuestAdditions
|
||||
#./install.sh
|
||||
#/sbin/rcvboxadd quicksetup all
|
||||
#popd
|
||||
#ls "/lib/modules/${kver}/misc/"
|
||||
#modinfo "/lib/modules/${kver}/misc/vboxsf.ko"
|
||||
#rm -rf /tmp/VBoxGuestAdditions
|
||||
#umount /media/VBoxGuestAdditions
|
||||
#rm -f /tmp/vboxadditions.iso
|
||||
#rmdir /media/VBoxGuestAdditions
|
||||
#dnf -y remove kernel-devel gcc make perl elfutils-libelf-devel
|
||||
}
|
||||
|
||||
function libvirt_vagrant_steps() {
|
||||
|
Loading…
Reference in New Issue
Block a user