Added missing saveSettings() to network config in IsoToIMachine.

This commit is contained in:
Mattias Holmqvist 2011-10-23 12:43:54 +02:00
parent b04f38b0d8
commit 242b15f611
1 changed files with 1 additions and 0 deletions

View File

@ -166,6 +166,7 @@ public class IsoToIMachine implements Function<String, IMachine> {
machine.getNetworkAdapter(0l).setAttachmentType(NAT); machine.getNetworkAdapter(0l).setAttachmentType(NAT);
machine.getNetworkAdapter(0l).getNatDriver().addRedirect("guestssh", TCP, "127.0.0.1", 2222, "", 22); machine.getNetworkAdapter(0l).getNatDriver().addRedirect("guestssh", TCP, "127.0.0.1", 2222, "", 22);
machine.getNetworkAdapter(0l).setEnabled(true); machine.getNetworkAdapter(0l).setEnabled(true);
machine.saveSettings();
return null; return null;
} }