mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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. This closes #290 (cherry picked from commit aafa0c80b35a9f0e533e5a4b18d03f1e47cf9bfe) Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
87d4086a64
commit
9dcfbceae7
@ -982,7 +982,7 @@ public class LibvirtVMDef {
|
|||||||
netBuilder.append("<script path='" + _scriptPath + "'/>\n");
|
netBuilder.append("<script path='" + _scriptPath + "'/>\n");
|
||||||
}
|
}
|
||||||
if (_pxeDisable) {
|
if (_pxeDisable) {
|
||||||
netBuilder.append("<rom bar='off' file='dummy'/>");
|
netBuilder.append("<rom bar='off' file=''/>");
|
||||||
}
|
}
|
||||||
if (_virtualPortType != null) {
|
if (_virtualPortType != null) {
|
||||||
netBuilder.append("<virtualport type='" + _virtualPortType + "'>\n");
|
netBuilder.append("<virtualport type='" + _virtualPortType + "'>\n");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user