diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-11-12 17:02:31 -0500 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-11-12 17:41:08 -0500 |
commit | cd58f26cb9b0cac5c3748029e0f3661579b339c2 (patch) | |
tree | 2b4aa7ad3eef61950d16ecb6298470b48c544d12 /webui_templates | |
parent | 60a05cec5c1caac5866d442203dbb455be213585 (diff) | |
download | cobbler-cd58f26cb9b0cac5c3748029e0f3661579b339c2.tar.gz cobbler-cd58f26cb9b0cac5c3748029e0f3661579b339c2.tar.xz cobbler-cd58f26cb9b0cac5c3748029e0f3661579b339c2.zip |
Remove "default_interface" logic from webapp also
Diffstat (limited to 'webui_templates')
-rw-r--r-- | webui_templates/system_edit.tmpl | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/webui_templates/system_edit.tmpl b/webui_templates/system_edit.tmpl index 4a9aa3d7..faf1f19a 100644 --- a/webui_templates/system_edit.tmpl +++ b/webui_templates/system_edit.tmpl @@ -270,12 +270,7 @@ function page_onload() { interface_table = build_interface_table() last_interface = get_selected_interface() load_intf() - - #if $system - no_delete = "$system.default_interface" - #else - no_delete = "eth0" - #end if + no_delete = "eth0" } </script> @@ -604,7 +599,7 @@ function page_onload() { #if $system #for $iname in $system.interfaces.keys <option name="$iname" - #if $iname == $system.default_interface + #if $iname == "eth0" selected="1" #end if >$iname</option> |