This patch lets you specify a distro as being an Ubuntu breed (you can 
already do it on the command line).

---
 webui_templates/distro_edit.tmpl |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/webui_templates/distro_edit.tmpl 
b/webui_templates/distro_edit.tmpl
index 43e7325..6eac4bf 100644
--- a/webui_templates/distro_edit.tmpl
+++ b/webui_templates/distro_edit.tmpl
@@ -239,6 +239,11 @@ function disablename(value)
     #else
         <input type="radio" name="breed" id="breed" value="debian">Debian
     #end if
+    #if $distro and $distro.breed == "ubuntu"
+        <input type="radio"  name="breed" id="breed" value="ubuntu" 
checked>Ubuntu
+    #else
+        <input type="radio" name="breed" id="breed" value="ubuntu">Ubuntu
+    #end if
     #if $distro and $distro.breed == "suse"
         <input type="radio" name="breed" id="breed" value="suse" 
checked>SuSE
     #else
-- 
1.5.5.1
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to