mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-21 21:13:53 +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. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> This closes #290
This commit is contained in:
parent
8eafdbd224
commit
aafa0c80b3
@ -967,7 +967,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…
x
Reference in New Issue
Block a user