Displaying 1 result from an estimated 1 matches for "current_hostnam".
Did you mean:
current_hostname
2011 Aug 03
0
[PATCH] update valid_hostname regex checks
...9;])
+ self.reset_screen_colors()
def valid_fqdn_or_ipv4(self):
warn = 0
@@ -1143,10 +1144,13 @@ class NodeConfigScreen():
self.menuo = self.menu_list.current()
def process_network_config(self):
- if self.net_hostname.value() != self.current_hostname and is_valid_hostname(self.net_hostname.value()):
+ if self.net_hostname.value() == "":
+ augtool("set", "/files/etc/sysconfig/network/HOSTNAME", "")
+ os.system("hostname \"" + self.net_hostname.value()+&quo...