Lines Matching refs:network
94 # configure the network using the dhcp
95 cat <<EOF > $rootfs/etc/network/interfaces
96 # This file describes the network interfaces available on your system
99 # The loopback network interface
200 # A function to try and autodetect squid-deb-proxy servers on the local network
504 # if there is exactly one veth network entry, make sure it has an
506 nics=`grep -e '^lxc\.network\.type[ \t]*=[ \t]*veth' $path/config | wc -l`
508 grep -q "^lxc.network.hwaddr" $path/config || sed -i -e "/^lxc\.network\.type[ \t]*=[ \t]*veth/a lxc.network.hwaddr = 00:16:3e:$(openssl rand -hex 3| sed 's/\(..\)/\1:/g; s/.$//')" $path/config
512 ## Relocate all the network config entries
513 sed -i -e "/lxc.network/{w ${path}/config-network" -e "d}" $path/config
538 ## Re-add the previously removed network config
541 cat $path/config-network >> $path/config
542 rm $path/config-network