I am trying to automate the installation of Ubuntu from a network repository. I am now successfully able to configure the ISO image and it does the installation automatically.
My requirement:
I would like to know if there is a method in the initial installation stage of Ubuntu, where I can tell if the OS is being installed in VirtualBox or a physical desktop. I want this check to be performed as I want to automate the installation of the VirtualBox guest additions if the installation is being performed in VirtualBox.
How can I do this?