mirror of https://github.com/apache/jclouds.git
Added missing saveSettings() to network config in IsoToIMachine.
This commit is contained in:
parent
b04f38b0d8
commit
242b15f611
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue