Skip to content

Commit 159dc01

Browse files
kvm: for disabling pxe, pass empty file
Passing the file argument to the xml break for EL 7.1, the fix removes the argument as just passing rombar='off' with its file arg to be empty string. Signed-off-by: Rohit Yadav <[email protected]>
1 parent 90ac1ab commit 159dc01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,7 @@ public String toString() {
967967
netBuilder.append("<script path='" + _scriptPath + "'/>\n");
968968
}
969969
if (_pxeDisable) {
970-
netBuilder.append("<rom bar='off' file='dummy'/>");
970+
netBuilder.append("<rom bar='off' file=''/>");
971971
}
972972
if (_virtualPortType != null) {
973973
netBuilder.append("<virtualport type='" + _virtualPortType + "'>\n");

0 commit comments

Comments
 (0)