Version 1 (modified by aydan, 11 years ago)


The Xen driver detects that a VM has finished booting by attempting to ssh into the machine. For this technique to work you will need:

  • a public/private key pair with empty passphrase
-sh-3.2$ ssh-keygen 
Generating public/private rsa key pair.
Enter file in which to save the key (/home/aydan/.ssh/id_rsa): bla
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in bla.
Your public key has been saved in
The key fingerprint is:
c7:ef:bc:7e:dc:88:b9:52:bd:10:97:42:61:b4:27:47 aydan@go-m1.renci.ben
  • the public key must be added to the VM disk image to authenticate the root user to login using he corresponding private key. See this page for instructions.
  • the private key must be added to the xen driver's installation package
    1. Checkout the xen driver driver
  1. Copy your private key under driver/xen/resources/keys/
    cp bla driver/xen/resources/keys/
  2. Compile and install the driver package to your local maven repository
    cd driver
    mvn install
    Note: make sure that you refresh the packages list in the config tool after installing the driver to your local maven repository
ant get.packages