From 242b15f611eee0359adc48e43abab4e2815b6a69 Mon Sep 17 00:00:00 2001 From: Mattias Holmqvist Date: Sun, 23 Oct 2011 12:43:54 +0200 Subject: [PATCH] Added missing saveSettings() to network config in IsoToIMachine. --- .../java/org/jclouds/virtualbox/functions/IsoToIMachine.java | 1 + 1 file changed, 1 insertion(+) diff --git a/sandbox-apis/virtualbox/src/main/java/org/jclouds/virtualbox/functions/IsoToIMachine.java b/sandbox-apis/virtualbox/src/main/java/org/jclouds/virtualbox/functions/IsoToIMachine.java index ff844ab625..63fabf7f43 100644 --- a/sandbox-apis/virtualbox/src/main/java/org/jclouds/virtualbox/functions/IsoToIMachine.java +++ b/sandbox-apis/virtualbox/src/main/java/org/jclouds/virtualbox/functions/IsoToIMachine.java @@ -166,6 +166,7 @@ public class IsoToIMachine implements Function { machine.getNetworkAdapter(0l).setAttachmentType(NAT); machine.getNetworkAdapter(0l).getNatDriver().addRedirect("guestssh", TCP, "127.0.0.1", 2222, "", 22); machine.getNetworkAdapter(0l).setEnabled(true); + machine.saveSettings(); return null; }