mirror of https://github.com/apache/cloudstack.git
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 aafa0c80b3)
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");
|
||||
}
|
||||
if (_pxeDisable) {
|
||||
netBuilder.append("<rom bar='off' file='dummy'/>");
|
||||
netBuilder.append("<rom bar='off' file=''/>");
|
||||
}
|
||||
if (_virtualPortType != null) {
|
||||
netBuilder.append("<virtualport type='" + _virtualPortType + "'>\n");
|
||||
|
|
|
|||
Loading…
Reference in New Issue