Lines Matching refs:arch
54 arch=$4
57 if [ $arch = "i386" ]; then
58 arch="i686"
95 lxc.arch = $arch
137 [ -a | --arch ]: Architecture of container, defaults to host architecture
149 options=$(getopt -o a:hp:r:n:Fi:CLS:T:ds:u: -l arch:,help,rootfs:,path:,release:,name:,flush-cache,hostid:,auth-key:,cloud,no_locales,tarball:,debug,stream:,userdata:,vendordata:,mapped-uid:,mapped-gid: -- "$@")
171 arch=`/usr/bin/dpkg --print-architecture`
173 arch=`/usr/bin/udpkg --print-architecture`
175 arch=$(uname -m)
176 if [ "$arch" = "i686" ]; then
177 arch="i386"
178 elif [ "$arch" = "x86_64" ]; then
179 arch="amd64"
180 elif [ "$arch" = "armv7l" ]; then
185 arch="armhf"
186 elif [ "$arch" = "aarch64" ]; then
187 arch="arm64"
188 elif [ "$arch" = "ppc64le" ]; then
189 arch="ppc64el"
194 hostarch=$arch
208 -a|--arch) arch=$2; shift 2;;
232 if [ "$arch" = "i686" ]; then
233 arch=i386
237 case "$hostarch:$arch" in
238 $arch:$arch) : ;; # the host == container
243 *) echo "cannot create '$arch' container on hostarch '$hostarch'";
289 ubuntu-cloudimg-query $release $stream $arch 1>/dev/null 2>/dev/null || stream=daily
295 if ! url1=`ubuntu-cloudimg-query $release $stream $arch --format "%{url}\n"`; then
296 echo "There is no download available for release=$release, stream=$stream, arch=$arch"
356 copy_configuration $path $rootfs $name $arch $release