URI nid = URI.create("/" + nextId.getAndIncrement() + "/0");
VirtualBoxManager vboxMgr = null;
try {
vboxMgr = this.connect();
IVirtualBox vbox = vboxMgr.getVBox();
ISession s = vboxMgr.getSessionObject();
IMachine machine = this.importAppliance(vbox, s);
/* TODO Headless */
IProgress p = machine.launchVMProcess(s, "gui", "");
p.waitForCompletion(-1);
Thread.sleep(3000);
IConsole c = s.getConsole();
String opt = "microcore home=hda1\n";
send(opt, c.getKeyboard());
Client oc = this.getOutpost(s, vbox);
File deployDir = new File("i-osgi");
deploy(oc, deployDir);