mirror of
https://github.com/apache/jclouds.git
synced 2025-02-16 06:56:45 +00:00
issue 384: adding vbox - first admin vm launched on macosx
This commit is contained in:
parent
8bb614bf72
commit
8fe01385ac
@ -274,11 +274,11 @@ public class VirtualboxAdministrationKickstartLiveTest {
|
|||||||
*/
|
*/
|
||||||
void startupVboxWebServer() {
|
void startupVboxWebServer() {
|
||||||
logger().debug("disabling password access");
|
logger().debug("disabling password access");
|
||||||
runScriptOnNode(hostId, "VBoxManage setproperty websrvauthlibrary null");
|
runScriptOnNode(hostId, "VBoxManage setproperty websrvauthlibrary null", runAsRoot(false).wrapInInitScript(false));
|
||||||
logger().debug("starting vboxwebsrv");
|
logger().debug("starting vboxwebsrv");
|
||||||
String vboxwebsrv = "vboxwebsrv -t 10000 -v -b";
|
String vboxwebsrv = "vboxwebsrv -t 10000 -v -b";
|
||||||
if (isOSX(hostId))
|
if (isOSX(hostId))
|
||||||
vboxwebsrv = "cd /Applications/VirtualBox.app/Contents/MacOS/&&"
|
vboxwebsrv = "cd /Applications/VirtualBox.app/Contents/MacOS/ && "
|
||||||
+ vboxwebsrv;
|
+ vboxwebsrv;
|
||||||
// allow jclouds to background the process, this is why we don't specify
|
// allow jclouds to background the process, this is why we don't specify
|
||||||
// -b;
|
// -b;
|
||||||
@ -377,7 +377,6 @@ public class VirtualboxAdministrationKickstartLiveTest {
|
|||||||
long size = 4L * 1024L * 1024L * 1024L - 4L;
|
long size = 4L * 1024L * 1024L * 1024L - 4L;
|
||||||
IProgress progress = hd.createBaseStorage(new Long(size), new Long(
|
IProgress progress = hd.createBaseStorage(new Long(size), new Long(
|
||||||
MediumVariant.STANDARD.ordinal()));
|
MediumVariant.STANDARD.ordinal()));
|
||||||
progress.wait();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ISession session = manager.getSessionObject();
|
ISession session = manager.getSessionObject();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user