Lines Matching refs:path
124 path=$1
130 grep -q "^lxc.rootfs" $path/config 2>/dev/null || echo "lxc.rootfs = $rootfs" >> $path/config
131 cat <<EOF >> $path/config
153 cat <<EOF >> $path/config
159 cat <<EOF >> $path/config
165 grep -q "^lxc.network.ipv4" $path/config || touch $rootfs/run-dhcp
168 cat <<EOF >> $path/config
177 $1 -h|--help -p|--path=<path> [--rootfs=<path>]
194 options=$(getopt -o hp:n:S: -l help,rootfs:,path:,name:,auth-key: -- "$@")
205 -p|--path) path=$2; shift 2;;
245 if [ -z "$path" ]; then
246 echo "'path' parameter is required"
251 config="$path/config"
256 rootfs=$path/rootfs
272 copy_configuration $path $rootfs $name