Lines Matching refs:rootfs_path

56     mkdir -p $rootfs_path/selinux
57 echo 0 > $rootfs_path/selinux/enforce
59 mkdir -p ${rootfs_path}/etc/net/ifaces/eth0
60 cat <<EOF > ${rootfs_path}/etc/net/ifaces/eth0/options
69 cat <<EOF > ${rootfs_path}/etc/net/ifaces/eth0/ipv4address
73 cat <<EOF > ${rootfs_path}/etc/net/ifaces/eth0/ipv4route
77 cat <<EOF > ${rootfs_path}/etc/net/ifaces/eth0/resolv.conf
81 cat <<EOF > ${rootfs_path}/etc/net/ifaces/eth0/ipv6address
85 cat <<EOF > ${rootfs_path}/etc/net/ifaces/eth0/ipv6route
92 cat <<EOF > ${rootfs_path}/etc/sysconfig/network
100 cat <<EOF > $rootfs_path/etc/hosts
104 # sed -i 's/^.*loginuid.so.*$/\#&/' ${rootfs_path}/etc/pam.d/common-login
107 echo "pts/0" >> ${rootfs_path}/etc/securetty
108 echo "console" >> ${rootfs_path}/etc/securetty
113 chroot ${rootfs_path} chkconfig $service --list &>/dev/null && chroot ${rootfs_path} chkconfig $service on || true
115 chroot ${rootfs_path} systemctl -q enable $service &>/dev/null|| true
120 chroot ${rootfs_path} chkconfig $service --list &>/dev/null && chroot ${rootfs_path} chkconfig $service off || true
121 chroot ${rootfs_path} systemctl -q disable $service &>/dev/null || true
124 subst 's/^\([3-9]\+:[0-9]\+:respawn:\/sbin\/mingetty.*\)/#\1/' ${rootfs_path}/etc/inittab
125 echo "c1:2345:respawn:/sbin/mingetty --noclear console" >> ${rootfs_path}/etc/inittab
127 [ -f "${rootfs_path}/etc/syslog.conf" ] && \
128 subst 's,\/dev\/tty12,/var/log/syslog/console,' ${rootfs_path}/etc/syslog.conf
130 dev_path="${rootfs_path}/dev"
160 echo "root:$root_password" | chroot $rootfs_path chpasswd
211 echo -n "Copying rootfs to $rootfs_path ..."
212 #cp -a $cache/rootfs-$arch $rootfs_path || return 1
214 mkdir -p $rootfs_path
215 rsync -Ha $cache/rootfs/ $rootfs_path/
252 echo "Copy $cache/rootfs to $rootfs_path ... "
268 grep -q "^lxc.rootfs" $config_path/config 2>/dev/null || echo "lxc.rootfs = $rootfs_path" >> $config_path/config
398 --rootfs) rootfs_path=$2; shift 2;;
452 if [ -z "$rootfs_path" ]; then
454 rootfs_path=$(awk -F= '/^lxc.rootfs =/{ print $2 }' $path/config)
456 rootfs_path=$path/rootfs