Lines Matching refs:config

111     # The OL 5 init honors /etc/selinux/config, but note that
120 if [ -e $container_rootfs/etc/selinux/config ]; then
121 sed -i 's|SELINUX=enforcing|SELINUX=disabled|' $container_rootfs/etc/selinux/config
124 echo "SELINUX=disabled" >$container_rootfs/etc/selinux/config
160 # default config. Number should match lxc.tty
210 if [ -f "$container_rootfs/etc/sysconfig/iptables-config" ]; then
211 sed -i 's|IPTABLES_MODULES=".*|IPTABLES_MODULES=""|' $container_rootfs/etc/sysconfig/iptables-config
212 sed -i 's|IPTABLES_MODULES_UNLOAD=".*|IPTABLES_MODULES_UNLOAD="no"|' $container_rootfs/etc/sysconfig/iptables-config
362 # since lxc.devttydir is specified in the config.
471 # create the container's lxc config file
474 echo "Create configuration file $cfg_dir/config"
475 mkdir -p $cfg_dir || die "unable to create config dir $cfg_dir"
477 echo "# Common configuration" >> $cfg_dir/config
479 echo "lxc.include = @LXCTEMPLATECONFIG@/oracle.common.conf" >> $cfg_dir/config
482 cat <<EOF >> $cfg_dir/config || die "unable to create $cfg_dir/config"
487 grep -q "^lxc.rootfs" $cfg_dir/config 2>/dev/null || echo "lxc.rootfs = $container_rootfs" >> $cfg_dir/config
490 echo "lxc.cap.drop = sys_resource" >>$cfg_dir/config
495 echo "lxc.cap.drop = setfcap setpcap" >>$cfg_dir/config
498 echo "# Networking" >>$cfg_dir/config
500 lxc_network_type=`grep '^lxc.network.type' $cfg_dir/config | awk -F'[= \t]+' '{ print $2 }'`
502 echo "lxc.network.type = veth" >>$cfg_dir/config
506 lxc_network_link=`grep '^lxc.network.link' $cfg_dir/config | awk -F'[= \t]+' '{ print $2 }'`
508 echo "lxc.network.link = lxcbr0" >>$cfg_dir/config
512 lxc_network_hwaddr=`grep '^lxc.network.hwaddr' $cfg_dir/config | awk -F'[= \t]+' '{ print $2 }'`
519 echo "lxc.network.hwaddr = $hwaddr" >>$cfg_dir/config
522 lxc_network_flags=`grep '^lxc.network.flags' $cfg_dir/config | awk -F'[= \t]+' '{ print $2 }'`
524 echo "lxc.network.flags = up" >>$cfg_dir/config
527 cat <<EOF >> $cfg_dir/config || die "unable to create $cfg_dir/config"
971 echo "Config : $cfg_dir/config"