You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/CitrixResourceBase.java
Copy file name to clipboardExpand all lines: plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/wrapper/xenbase/CitrixMigrateCommandWrapper.java
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,8 @@ public Answer execute(final MigrateCommand command, final CitrixResourceBase cit
91
91
92
92
// The iso can be attached to vm only once the vm is (present in the host) migrated.
93
93
// Attach the config drive iso device to VM
94
-
if (!citrixResourceBase.attachConfigDriveToMigratedVm(conn, vmName, dstHostIpAddr)) {
94
+
VMvm = vms.iterator().next();
95
+
if (!citrixResourceBase.attachConfigDriveIsoToVm(conn, vm)) {
95
96
s_logger.debug("Config drive ISO attach failed after migration for vm "+vmName);
Copy file name to clipboardExpand all lines: plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/wrapper/xenbase/CitrixStartCommandWrapper.java
+32-27Lines changed: 32 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -98,34 +98,8 @@ public Answer execute(final StartCommand command, final CitrixResourceBase citri
98
98
if (vmSpec.getType() != VirtualMachine.Type.User) {
0 commit comments