Hi ManFredB and welcome to fedora fora,
I haven't used Vbox for many years but will take a shot at helping you. The following is a guess and is untested by me.
If you put the VBoxLinuxAdditions.run file in the same folder as your kickstarts you can add it to the liveDVD from the "%post --nocheckroot" with something like:
Code:
##############################################################################
## POST --NOCHROOT
##############################################################################
%post --nochroot
cp VBoxLinuxAdditions.run $INSTALL_ROOT/usr/share/
Then run it by adding the run command to "/etc/rc.d/init.d/livesys" from the %post section with something like:
Code:
##############################################################################
## POST
##############################################################################
%post
cat >> /etc/rc.d/init.d/livesys << EOF_livesys
sh /usr/share/VBoxLinuxAdditions.run
EOF_livesys
You will have to make sure you add any dependencies to the %packages section of your kickstart also. I know some of the package dependencies are "dkms and gcc" but there may be more.
Hope this helps,
---------- Post added at 07:09 PM ---------- Previous post was at 12:21 PM ----------
EDIT:
I had forgot to put the "cp" copy command in the first set of codes