Searched refs:release (Results 1 - 20 of 20) sorted by relevance

/lxc/src/tests/
H A Dlxc-test-autostart47 # default release is trusty, or the systems release if recognized
48 release=trusty
49 if [ -f /etc/lsb-release ]; then
50 . /etc/lsb-release
54 [ "$DISTRIB_CODENAME" = "$r" ] && release="$r"
58 lxc-create -t download -n $CONTAINER_NAME -- -d ubuntu -r $release -a $ARCH
H A Dlxc-test-usernic.in136 # default release is trusty, or the systems release if recognized
137 release=trusty
138 if [ -f /etc/lsb-release ]; then
139 . /etc/lsb-release
143 [ "$DISTRIB_CODENAME" = "$r" ] && release="$r"
148 run_cmd "lxc-create -t download -n b1 -- -d ubuntu -r $release -a $ARCH"
H A Dlxc-test-apparmor-mount148 # default release is trusty, or the systems release if recognized
149 release=trusty
150 if [ -f /etc/lsb-release ]; then
151 . /etc/lsb-release
155 [ "$DISTRIB_CODENAME" = "$r" ] && release="$r"
159 run_cmd lxc-create -t download -n $cname -- -d ubuntu -r $release -a $ARCH
H A Dlxc-test-unpriv158 # default release is trusty, or the systems release if recognized
159 release=trusty
160 if [ -f /etc/lsb-release ]; then
161 . /etc/lsb-release
165 [ "$DISTRIB_CODENAME" = "$r" ] && release="$r"
175 run_cmd lxc-create -t download -n c1 -- -d ubuntu -r $release -a $ARCH
/lxc/templates/
H A Dlxc-debian.in167 local release="$1"; shift
182 ${prefix} $MIRROR ${release} main${non_main}
185 if [ "$release" != "unstable" -a "$release" != "sid" ]; then
187 ${prefix} $SECURITY_MIRROR ${release}/updates main${non_main}
252 rm -rf "$cache/partial-$release-$arch"
253 rm -rf "$cache/rootfs-$release-$arch"
258 case "$release" in
279 release=$3
290 case $release i
[all...]
H A Dlxc-plamo.in62 echo "Downloading Plamo-$release minimal..."
71 -I $MIRRORPATH/Plamo-$release/$arch/plamo/$i \
72 -X $MIRRORPATH/Plamo-$release/$arch/plamo/$i/old \
73 $DLSCHEME://$MIRRORSRV$MIRRORPATH/Plamo-$release/$arch/plamo/$i
81 -I $MIRRORPATH/Plamo-$release/$arch/contrib/$i \
82 -X $MIRRORPATH/Plamo-$release/$arch/contrib/$i/old \
83 $DLSCHEME://$MIRRORSRV$MIRRORPATH/Plamo-$release/$arch/contrib/$i
91 -I $MIRRORPATH/Plamo-$release/$arch/`dirname $p` \
92 -X $MIRRORPATH/Plamo-$release/$arch/`dirname $p`/old \
93 $DLSCHEME://$MIRRORSRV$MIRRORPATH/Plamo-$release/
[all...]
H A Dlxc-ubuntu-cloud.in55 release=$5
81 if [ -e "${LXC_TEMPLATE_CONFIG}/ubuntu-cloud.${release}.conf" ]; then
82 echo "lxc.include = ${LXC_TEMPLATE_CONFIG}/ubuntu-cloud.${release}.conf" >> $path/config
135 [ -r | --release <release> ]: Release name of container, defaults to host
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: -- "$@")
158 # default release is trusty, or the systems release if recognized
159 release=trusty
160 if [ -f /etc/lsb-release ]; the
[all...]
H A Dlxc-centos.in77 # Use the Mitre standard CPE identifier for the release ID if possible...
78 # This may be in /etc/os-release or /etc/system-release-cpe. We
79 # should be able to use EITHER. Give preference to /etc/os-release for now.
94 if [ -e /etc/os-release ]
98 . /etc/os-release
99 echo "Host CPE ID from /etc/os-release: ${CPE_NAME}"
102 if [ "${CPE_NAME}" = "" -a -e /etc/system-release-cpe ]
104 CPE_NAME=$(head -n1 /etc/system-release-cpe)
132 echo "Host CPE ID from /etc/system-release
[all...]
H A Dlxc-ubuntu.in90 release=$3
287 deb [arch=$2] $MIRROR ${release} main restricted universe multiverse
288 deb [arch=$2] $MIRROR ${release}-updates main restricted universe multiverse
289 deb [arch=$2] $SECURITY_MIRROR ${release}-security main restricted universe multiverse
293 deb $MIRROR ${release} main restricted universe multiverse
294 deb $MIRROR ${release}-updates main restricted universe multiverse
295 deb $SECURITY_MIRROR ${release}-security main restricted universe multiverse
332 release=$3
377 echo "Downloading ubuntu $release minimal ..."
379 qemu-debootstrap --verbose $debootstrap_parameters --components=main,universe --arch=$arch --include=${packages_template} $release
[all...]
H A Dlxc-fedora.in77 # Use the Mitre standard CPE identifier for the release ID if possible...
78 # This may be in /etc/os-release or /etc/system-release-cpe. We
79 # should be able to use EITHER. Give preference to /etc/os-release for now.
94 if [ -e /etc/os-release ]
98 . /etc/os-release
99 echo "Host CPE ID from /etc/os-release: ${CPE_NAME}"
102 if [ "${CPE_NAME}" = "" -a -e /etc/system-release-cpe ]
104 CPE_NAME=$(head -n1 /etc/system-release-cpe)
110 echo "Host CPE ID from /etc/system-release
[all...]
H A Dlxc-slackware.in487 cp -a $cache/rootfs-$release-$arch/* $rootfs/ || exit 1
490 sed -i "s|$cache/rootfs-$release-$arch|$rootfs|" $rootfs/etc/fstab
515 export ROOT=$cache/rootfs-$release-$arch
517 mkdir -p $cache/cache-$release-$arch $cache/rootfs-$release-$arch \
518 $cache/slackpkg-$release-$arch $CONF/templates
520 echo "$MIRROR/$PKGMAIN-$release/" > $CONF/mirrors
526 TEMP=$cache/cache-$release-$arch
527 WORKDIR=$cache/slackpkg-$release-$arch
610 echo "$MIRROR/$PKGMAIN-$release/" >>
[all...]
H A Dlxc-alpine.in80 -r VER, --release=VER The Alpine release branch to install; default is the
409 path:,release:,rootfs:,help,mapped-uid:,mapped-gid: -- "$@")
419 release=
443 -r | --release)
444 release=$2; shift 2
489 if [ -z "$release" ]; then
490 release=$(latest_release_branch "$arch") \
491 || die 2 'Failed to resolve Alpine last release branch'
496 run_exclusively "$arch" 30 install "$rootfs" "$arch" "$release" "
[all...]
H A Dlxc-openmandriva.in53 [ -f /etc/mandriva-release ] && is_openmandriva=true
133 URPMI="/usr/sbin/urpmi.addmedia --urpmi-root $INSTALL_ROOT main http://abf.rosalinux.ru/downloads/$release/repository/$arch/main/release"
310 echo -n "Purging the download cache for OpenMandriva-$release..."
321 [-p|--path=<path>] [-c|--clean] [-R|--release=<openmandriva2013.0/rosa2012.1/cooker/ release>]
332 -R,--release openmandriva2013.0/cooker/rosa2012.1 release for the new container. if the host is OpenMandriva, then it will default to the host's release.
346 options=$(getopt -o hp:n:P:cR:4:6:g:d:A -l help,rootfs:,path:,name:,profile:,clean:,release
[all...]
H A Dlxc-oracle.in634 echo "Yum installing release $container_release_major.$container_release_minor for $basearch"
666 die "Unsupported release $container_release_major"
672 die "Unable to download repo file $yum_url/$repofile, release unavailable"
706 die "Unsupported release $container_release_major.$container_release_minor"
721 min_pkgs="yum initscripts passwd rsyslog vim-minimal openssh-server openssh-clients dhclient chkconfig rootfiles policycoreutils oraclelinux-release"
805 if [ -f $1/etc/oracle-release ]; then
806 container_release_version=`cat $1/etc/oracle-release |awk '/^Oracle/ {print $5}'`
809 elif grep -q "Enterprise Linux AS" $1/etc/redhat-release; then
810 container_release_major=`cat $1/etc/redhat-release |awk '{print $7}'`
811 container_release_minor=`cat $1/etc/redhat-release |aw
[all...]
H A Dlxc-sparclinux.in452 echo "Yum installing release $container_release_major.$container_release_minor for $basearch"
471 die "Unsupported release $container_release_major"
477 die "Unable to download repo file $yum_url/$repofile, release unavailable"
494 die "Unsupported release $container_release_major.$container_release_minor"
509 min_pkgs="yum initscripts passwd rsyslog vim-minimal openssh-server openssh-clients dhclient chkconfig rootfiles policycoreutils sparclinux-release"
557 if [ -f $1/etc/sparclinux-release ]; then
558 container_release_version=`cat $1/etc/sparclinux-release |awk '/^Linux/ {print $5}'`
562 echo "Unable to determine container release version"
571 -R|--release=<release> releas
[all...]
H A Dlxc-opensuse.in168 Support: hwinfo insserv-compat module-init-tools openSUSE-release openssh
403 $1 -h|--help -p|--path=<path> -r|--release nn.n --clean
404 Please give the release as 13.1, 13.2 etc.
405 If no release is given, openSUSE Leap 42.2 is installed.
413 options=$(getopt -o hp:n:r:c -l help,rootfs:,path:,name:,release:,clean -- "$@")
427 -r|--release) DISTRO=$2; shift 2;;
450 if grep -q Harlequin /etc/os-release || grep -q Tumbleweed /etc/os-release ; then
460 echo "No release selected, using openSUSE Leap 42.2"
484 echo "You have chosen an invalid release, quittin
[all...]
H A Dlxc-altlinux.in50 [ -f /etc/altlinux-release ] && is_altlinux=true
350 echo -n "Purging the download cache for ALTLinux-$release..."
361 [-p|--path=<path>] [-c|--clean] [-R|--release=<ALTLinux_release>]
372 -R,--release ALTLinux release for the new container. if the host is ALTLinux, then it will defaultto the host's release.
386 options=$(getopt -o hp:n:P:cR:4:6:g:d: -l help,rootfs:,path:,name:,profile:,clean,release:,ipv4:,ipv6:,gw:,dns: -- "$@")
402 -R|--release) release=$2; shift 2;;
431 if [ -z "$release" ]; the
[all...]
H A Dlxc-cirros.in117 local path=$1 rootfs=$2 name=$3 arch=$4 release=$5
338 copy_configuration "$path" "$path/rootfs" "$name" "$arch" "$release"
H A Dlxc-download.in200 [ -r | --release <release> ]: Release name/version
227 options=$(getopt -o d:r:a:hl -l dist:,release:,arch:,help,list,variant:,\
242 -r|--release) DOWNLOAD_RELEASE=$2; shift 2;;
H A Dlxc-archlinux.in69 [ -f /etc/arch-release ] && is_arch=true

Completed in 24 milliseconds