compass-adapters/cobbler/snippets/suse_post_install_network
xiaodongwang 1b3faedded add initial version of suse support
Change-Id: If960011e7ac8996ce1c0365b9dd06ed89b26fa8a
2015-03-03 22:51:03 -08:00

11 lines
383 B
Plaintext

# Start post_install_network_config generated code
#if $getVar('promisc_nics', '') != ""
#set promisc_interfaces = [promisc.strip() for promisc in $promisc_nics.split(',') if promisc.strip()]
#else
#set promisc_interfaces = []
#end if
#for promisc_interface in $promisc_interfaces
echo 'LINK_OPTIONS="promisc on"' >> /etc/sysconfig/network/ifcfg-$promisc_interface
#end for