Lines Matching refs:config
56 # set first network adapter as dhcp. This is the most common config.
302 grep -q "^lxc.rootfs" $path/config 2>/dev/null || echo "
304 " >> $path/config
308 # interfaces in the default config. It will also strip any
309 # hwaddr stanzas out of the default config since we can not share
313 mv $path/config $path/config.def
316 # This should catch variable expansions from the default config...
328 echo "${LINE}" >> $path/config
332 echo "lxc.network.hwaddr = $(create_hwaddr)" >> $path/config
335 done < $path/config.def
337 rm -f $path/config.def
343 " >> $path/config
347 cat <<EOF >> $path/config
497 config="$path/config"
499 if grep -q '^lxc.rootfs' $config 2>/dev/null ; then
500 rootfs=$(awk -F= '/^lxc.rootfs =/{ print $2 }' $config)