# The VirtualBox documentation for how to install guest additions
# for Linux on a virtual host is somewhat messy. So here is what
# I did to make it work.
# Install the packages required
yum install gcc kernel-devel make
# you need to install Development Tools
# Click: Devices/Install Guest Additions…
# Mount the ISO image with the guest additions
mount /dev/cdrom /cdrom
# Install guest additions
# Share a folder from the VirtualBox control panel, giving it a share name.
# You could always mount the directory yourself as well
mount -t vboxsf the_share_name /a_folder_name