VirtualBox
We are deploying a CI Environment using Jenkins and Vagrant and are considering Linode to host it. However, I would like to clarify if Linode VMs would support Vagrant (and hence Virtualbox ?). My understanding is that since Linodes are themselves VMs, they won't let us create Virtual Box VMs. Please confirm.
Thanks.
1 Reply
root@li481-93:~# cat /proc/version
Linux version 3.2.0-36-virtual (buildd@allspice) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #57-Ubuntu SMP Tue Jan 8 22:04:49 UTC 2013
root@li481-93:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
root@li481-93:~# virtualbox
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (3.2.0-36-virtual) or it failed to
load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
You will not be able to start VMs until this problem is fixed.
root@li481-93:~# /etc/init.d/vboxdrv setup
* Stopping VirtualBox kernel modules [ OK ]
* Removing old VirtualBox pci kernel module [ OK ]
* Removing old VirtualBox netadp kernel module [ OK ]
* Removing old VirtualBox netflt kernel module [ OK ]
* Removing old VirtualBox kernel module [ OK ]
* Recompiling VirtualBox kernel modules [ OK ]
* Starting VirtualBox kernel modules
* Running VirtualBox in a Xen environment is not supported
root@li481-93:~# virtualbox
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (3.2.0-36-virtual) or it failed to
load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
You will not be able to start VMs until this problem is fixed.
You might want to consider either modifying vagrant to use Linode as a virtualization platform instead of VirtualBox, or replicating its functionality using StackScripts. You can delete and recreate disk images easily via the API.