"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "snippets/post_install_network_config_deb" between
cobbler-2.8.4.tar.gz and cobbler-3.0.0.tar.gz

About: cobbler is a Linux installation and deployment server that allows for rapid setup of network installation environments. It can help with installation, DNS, DHCP, package updates, power management, configuration management orchestration, and much more.

post_install_network_config_deb  (cobbler-2.8.4):post_install_network_config_deb  (cobbler-3.0.0)
skipping to change at line 22 skipping to change at line 22
## Also determine the number of bonding devices we have, so we can set the ## Also determine the number of bonding devices we have, so we can set the
## max-bonds option in modprobe.conf accordingly. -- jcapel ## max-bonds option in modprobe.conf accordingly. -- jcapel
#set $configbymac = True #set $configbymac = True
#set $bridge_slaves = {} #set $bridge_slaves = {}
#set $numbondingdevs = 0 #set $numbondingdevs = 0
#set $enableipv6 = False #set $enableipv6 = False
## ========================================================================= ==== ## ========================================================================= ====
#for $iname in $ikeys #for $iname in $ikeys
## look at the interface hash data for the specific interface ## look at the interface hash data for the specific interface
#set $idata = $interfaces[$iname] #set $idata = $interfaces[$iname]
## Ignore BMC interface
#if $idata.get("interface_type", "").lower() == "bmc"
#continue
#end if
## do not configure by mac address if we don't have one AND it's not for bonding/vlans ## do not configure by mac address if we don't have one AND it's not for bonding/vlans
## as opposed to a "real" physical interface ## as opposed to a "real" physical interface
#if $idata.get("mac_address", "") == "" and not $vlanpattern.match($inam e) and not $idata.get("interface_type", "").lower() in ("bond","bridge"): #if $idata.get("mac_address", "") == "" and not $vlanpattern.match($inam e) and not $idata.get("interface_type", "").lower() in ("bond","bridge"):
## we have to globally turn off the config by mac feature as we can't ## we have to globally turn off the config by mac feature as we can't
## use it now ## use it now
#set $configbymac = False #set $configbymac = False
#end if #end if
## count the number of bonding devices we have. ## count the number of bonding devices we have.
#if $idata.get("interface_type", "").lower() in ("bond","bonded_bridge_s lave") #if $idata.get("interface_type", "").lower() in ("bond","bonded_bridge_s lave")
#set $numbondingdevs += 1 #set $numbondingdevs += 1
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)