DaanHoogland commented on a change in pull request #4004: Fixed null pointer
and deployment issue on Xenserver and L2 Guest network with configDrive
URL: https://github.com/apache/cloudstack/pull/4004#discussion_r407034069
##########
File path:
plugins/hypervisors/xenserver/src/main/java/com/cloud/hypervisor/xenserver/resource/CitrixResourceBase.java
##########
@@ -1156,7 +1156,7 @@ public VBD createVbd(final Connection conn, final DiskTO
volume, final String vm
if (volume.getType() == Volume.Type.ISO) {
vbdr.mode = Types.VbdMode.RO;
vbdr.type = Types.VbdType.CD;
- vbdr.userdevice = "3";
+ vbdr.userdevice = String.valueOf(3 + isoCount);
Review comment:
maybe give the 3 a constant with descriptive name
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services