Displaying 1 result from an estimated 1 matches for "39ce55e".
Did you mean:
19ce555
2009 Aug 04
3
[PATCH server] require at least one vm network if pxe booting
...ding = []
end
+ errors.add("nics", "must specify at least one network if pxe booting off a network") unless boot_device == BOOT_DEV_NETWORK && nics.size > 0
+
end
end
diff --git a/src/app/views/vm/_form.rhtml b/src/app/views/vm/_form.rhtml
index 5f519fc..39ce55e 100644
--- a/src/app/views/vm/_form.rhtml
+++ b/src/app/views/vm/_form.rhtml
@@ -51,6 +51,9 @@
<div class="vm_form_section" style="display:none;">
<div class="clear_row"></div>
+ <%# display network errors at the top of the section %&g...