mirror of https://github.com/apache/cloudstack.git
bug 7209: check otherconfig before update
status 7209: resolved fixed
This commit is contained in:
parent
a36b073e78
commit
79e68062af
|
|
@ -2192,7 +2192,9 @@ public abstract class CitrixResourceBase implements StoragePoolResource, ServerR
|
|||
if (!(guestOsTypeName.startsWith("Windows") || guestOsTypeName.startsWith("Citrix") || guestOsTypeName.startsWith("Other"))) {
|
||||
if (cmd.getBootFromISO()) {
|
||||
vm.setPVBootloader(conn, "eliloader");
|
||||
vm.addToOtherConfig(conn, "install-repository", "cdrom");
|
||||
Map<String, String> otherConfig = vm.getOtherConfig(conn);
|
||||
otherConfig.put( "install-repository", "cdrom");
|
||||
vm.setOtherConfig(conn, otherConfig);
|
||||
} else {
|
||||
vm.setPVBootloader(conn, "pygrub");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue