Hi,

Attached is a small patch for cobbler that hides the Random MAC link
when editing systems. This has no use as the needed JS code is also
disabled in that case.

Regards,
Tim
--- webui_templates/system_edit.tmpl.orig	2008-02-07 10:12:20.000000000 +0100
+++ webui_templates/system_edit.tmpl	2008-02-07 10:15:07.000000000 +0100
@@ -277,7 +277,9 @@
                value="$macaddress"
         />
 
+	#if not $system
         <a href="javascript: get_random_mac('macaddress-$interface')" style="font-size: 0.8em;">Random MAC</a>   
+	#end if
 
         <p class="context-tip">Example: AA:BB:CC:DD:EE:FF</p>
         </td>
_______________________________________________
et-mgmt-tools mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Reply via email to