Page -> Vnx-tutorial-virtualbox Views :  Page  Discussion  View source  History 

From VNX

Testing VNX using a VirtualBox

You can easily test VNX over a system with Linux, Mac OS X or Windows using the VNX demo virtual machine (VM). This VM can be run over VirtualBox or other hypervisor that accepts OVA virtual machine format.

Beware that with this VM you only can start LXC based virtual machines (no nested virtualization supported by VirtualBox).

Once you have VirtualBox or other hypervisor installed in your system:

  • Download the demo VM OVA file from There are two versions: vnx-ubuntu-XX-XX-gui-v01.ova, with an LXDE (Lubuntu) GUI; and vnx-ubuntu-XX-XX-v01.ova, without GUI.
  • Import the OVA file into VirtualBox using "File|Import Appliance" menu option.
  • Start the newly created VM. If you get an error related to vboxnet4 interface, you have to go to "Preferences|Network|Host-only networks" and create vboxnet4 interface.

Once the VM has started, you can access it through the GUI or, if you have installed the one without GUI, you can access it using:

slogin vnx@ -X       # password 'xxxx'

and test, for example, the LXC VNX tutorial scenario:

cd /usr/share/vnx/examples/
sudo vnx -f tutorial_lxc_ubuntu.xml -v -t

See more details about LXC tutorial scenario here.

Aditional notes:

If you use the VM without GUI take into account the following notes:

  • Installation on Windows:
    • X11 server: to allow virtual machine consoles to be shown properly, you need to install and start an X11 server in your Windows machine. We recommend using Xming (
    • SSH client: for "vagrant ssh" command to work on windows you need a "ssh" command available from PATH directories. We recommend using git for windows (, which includes and ssh command and automatically modifies PATH variable. Just download and install it choosing "Use Git and optional Unix tools from the Windows Command Prompt" in "Adjusting your PATH enviromnment" step. Use default values for the rest of parameters.
  • Installation on Mac OSX:

Personal tools