From d05b5f04c92034eae1675dc8102247a3cc3315f7 Mon Sep 17 00:00:00 2001 From: baigk Date: Tue, 4 Aug 2015 22:21:43 -0400 Subject: delete the windows newline character JIRA: COMPASS-7 Change-Id: Iffd549877b8cc50a995bdc59adf1f05c0fcb1d5e Signed-off-by: baigk --- deploy/adapters/cobbler/snippets/hosts.xml | 50 +++++++++++++++--------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'deploy/adapters/cobbler/snippets/hosts.xml') diff --git a/deploy/adapters/cobbler/snippets/hosts.xml b/deploy/adapters/cobbler/snippets/hosts.xml index 21a24dfc..7fd4ab6c 100644 --- a/deploy/adapters/cobbler/snippets/hosts.xml +++ b/deploy/adapters/cobbler/snippets/hosts.xml @@ -1,25 +1,25 @@ - - - - 127.0.0.1 - - localhost - - - #if $getVar("system_name","") != "" - #set $ikeys = $interfaces.keys() - #for $iface in $ikeys - #set $idata = $interfaces[$iface] - #if $idata["interface_type"].lower() in ["","na","bridge","bond"] - - $idata["ip_address"] - - #set $my_interface_hostname_short = $idata["dns_name"].split('.',1)[:1][0] - $idata["dns_name"].lower() $my_interface_hostname_short.lower() - - - #end if - #end for - #end if - - + + + + 127.0.0.1 + + localhost + + + #if $getVar("system_name","") != "" + #set $ikeys = $interfaces.keys() + #for $iface in $ikeys + #set $idata = $interfaces[$iface] + #if $idata["interface_type"].lower() in ["","na","bridge","bond"] + + $idata["ip_address"] + + #set $my_interface_hostname_short = $idata["dns_name"].split('.',1)[:1][0] + $idata["dns_name"].lower() $my_interface_hostname_short.lower() + + + #end if + #end for + #end if + + -- cgit 1.2.3-korg