Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Virtualbox implementation

Received: by 10.224.173.141 with SMTP id p13mr13812720qaz.5.1323874549604;
        Wed, 14 Dec 2011 06:55:49 -0800 (PST)
X-BeenThere: jclouds-dev@googlegroups.com
Received: by 10.224.116.194 with SMTP id n2ls5661600qaq.3.gmail; Wed, 14 Dec
 2011 06:55:49 -0800 (PST)
Received: by 10.224.188.65 with SMTP id cz1mr13663700qab.2.1323874549289;
        Wed, 14 Dec 2011 06:55:49 -0800 (PST)
Received: by 10.224.188.65 with SMTP id cz1mr13663697qab.2.1323874549279;
        Wed, 14 Dec 2011 06:55:49 -0800 (PST)
Return-Path: <andrea.tu...@gmail.com>
Received: from mail-qw0-f55.google.com (mail-qw0-f55.google.com [209.85.216.55])
        by gmr-mx.google.com with ESMTPS id ev41si2589260qcb.3.2011.12.14.06.55.49
        (version=TLSv1/SSLv3 cipher=OTHER);
        Wed, 14 Dec 2011 06:55:49 -0800 (PST)
Received-SPF: pass (google.com: domain of andrea.tu...@gmail.com designates 209.85.216.55 as permitted sender) client-ip=209.85.216.55;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of andrea.tu...@gmail.com designates 209.85.216.55 as permitted sender) smtp.mail=andrea.tu...@gmail.com
Received: by qadb10 with SMTP id b10so818110qad.0
        for <jclouds-dev@googlegroups.com>; Wed, 14 Dec 2011 06:55:49 -0800 (PST)
Received: by 10.224.214.194 with SMTP id hb2mr1396062qab.14.1323874549180;
        Wed, 14 Dec 2011 06:55:49 -0800 (PST)
Date: Wed, 14 Dec 2011 06:55:48 -0800 (PST)
From: Andrea <andrea.tu...@gmail.com>
Reply-To: jclouds-dev@googlegroups.com
To: jclouds-dev@googlegroups.com
Message-ID: <15874744.231.1323874548651.JavaMail.geo-discussion-forums@vbxw7>
Subject: Virtualbox implementation
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_229_25946262.1323874548649"

------=_Part_229_25946262.1323874548649
Content-Type: multipart/alternative; 
	boundary="----=_Part_230_5431304.1323874548650"

------=_Part_230_5431304.1323874548650
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

Since a bunch of months me, Adrian and Mattias are working hard to release 
the jclouds virtualbox api.

I've finally discovered that vbox CLI used vbox API to offer all the 
operations - vboxmanage CLI - and probably this will speed up our 
implementation:

In particular:
    VirtualBoxManager.getSessionObject().getConsole().getGuest().executeProcess(execName, 
flags, arguments, environment, userName, password, timeoutMS, pid)
will be useful to *export ip address* instead of using a Statement like the 
one we have at the moment based on *vboxmanage guestproperty enumerate 
"$VMNAME" --patterns "/VirtualBox/GuestInfo/Net/0/V4/IP" | awk '{ print $4 
}' | cut -c 1-14.*
and to remove the *udev* crap from the vm, for debian-based os.

Unfortunately it will not help us using:
    VirtualBoxManager.getSessionObject().getConsole().getGuest().updateGuestAdditions(source, 
flags)
cause according to the vbox devs this feature is buggy.

Ciao,
Andrea
 

------=_Part_230_5431304.1323874548650
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Since a bunch of months me, Adrian and Mattias are working hard to release =
the jclouds virtualbox api.<div><br></div><div>I've finally discovered that=
 vbox CLI used vbox API to offer all the operations - vboxmanage CLI - and =
probably this will speed up our implementation:</div><div><br></div><div>In=
 particular:</div><div><font class=3D"Apple-style-span" face=3D"'times new =
roman', serif" size=3D"2">&nbsp; &nbsp;<span class=3D"Apple-tab-span" style=
=3D"white-space: pre; ">=09</span>VirtualBoxManager.getSessionObject().getC=
onsole().getGuest().executeProcess(execName, flags, arguments, environment,=
 userName, password, timeoutMS, pid)<br></font></div><div>will be useful to=
 <b>export ip address</b> instead of using a Statement like the one we have=
 at the moment based on <i>vboxmanage guestproperty enumerate "$VMNAME" --p=
atterns "/VirtualBox/GuestInfo/Net/0/V4/IP" | awk '{ print $4 }' | cut -c 1=
-14.</i><br></div><div>and to remove the <b>udev</b> crap from the vm, for =
debian-based os.</div><div><br></div><div>Unfortunately it will not help us=
 using:</div><div><div><font class=3D"Apple-style-span" face=3D"'times new =
roman', serif">&nbsp; &nbsp;<span class=3D"Apple-tab-span" style=3D"white-s=
pace: pre; ">=09</span>VirtualBoxManager.getSessionObject().getConsole().ge=
tGuest().updateGuestAdditions(source, flags)</font></div></div><div>cause a=
ccording to the vbox devs this feature is buggy.</div><div><br></div><div>C=
iao,</div><div>Andrea</div><div>&nbsp;<br></div>
------=_Part_230_5431304.1323874548650--

------=_Part_229_25946262.1323874548649--