Lines Matching refs:release
634 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 |awk '{print $10}' |tr -d ")"`
813 elif grep -q "Enterprise Linux Server" $1/etc/redhat-release; then
814 container_release_version=`cat $1/etc/redhat-release |awk '{print $7}'`
818 echo "Unable to determine container release version"
827 -R|--release=<release> release to download for the new container
832 arch and release must also be specified
843 options=$(getopt -o hp:n:a:R:r:u:t: -l help,rootfs:,path:,name:,arch:,release:,rpms:,url:,templatefs:,patch:,baseurl: -- "$@")
858 -R|--release) container_release_version=$2; shift 2;;
877 echo "The --arch and --release must be specified when using --baseurl"
919 host_release_version=`lsb_release --release |awk '{print $2}'`
923 if [ -f /etc/fedora-release ]; then
925 host_release_version=`cat /etc/fedora-release |awk '{print $3}'`
928 elif [ -f /etc/oracle-release ]; then
930 host_release_version=`cat /etc/oracle-release |awk '{print $5}'`
951 echo "No release specified with -R, defaulting to 6.5"