Lines Matching refs:rootfs
197 echo "Failed to download the rootfs, aborting."
201 mv "$INSTALL_ROOT" "$cache/rootfs"
211 echo -n "Copying rootfs to $rootfs_path ..."
212 #cp -a $cache/rootfs-$arch $rootfs_path || return 1
215 rsync -Ha $cache/rootfs/ $rootfs_path/
221 chroot $cache/rootfs apt-get update
222 chroot $cache/rootfs apt-get -y dist-upgrade
235 echo "Checking cache download in $cache/rootfs ... "
236 if [ ! -e "$cache/rootfs" ]; then
252 echo "Copy $cache/rootfs to $rootfs_path ... "
255 echo "Failed to copy rootfs"
268 grep -q "^lxc.rootfs" $config_path/config 2>/dev/null || echo "lxc.rootfs = $rootfs_path" >> $config_path/config
364 [-P|--profile=<name of the profile>] [--rootfs=<path>]
370 -p,--path path to where the container rootfs will be created, defaults to @LXCPATH@. The container config will go under @LXCPATH@ in that case
380 ---rootfs rootfs path
386 options=$(getopt -o hp:n:P:cR:4:6:g:d: -l help,rootfs:,path:,name:,profile:,clean,release:,ipv4:,ipv6:,gw:,dns: -- "$@")
398 --rootfs) rootfs_path=$2; shift 2;;
451 # check for 'lxc.rootfs' passed in through default config by lxc-create
453 if grep -q '^lxc.rootfs' $path/config 2>/dev/null ; then
454 rootfs_path=$(awk -F= '/^lxc.rootfs =/{ print $2 }' $path/config)
456 rootfs_path=$path/rootfs
485 echo "container rootfs and config created"