tweaks for f20
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 6 Jan 2014 13:59:59 +0000 (14:59 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Mon, 6 Jan 2014 13:59:59 +0000 (14:59 +0100)
vbuild-fedora-mirror.sh
vbuild-init-vserver.sh

index a745453..243ab7c 100755 (executable)
@@ -57,7 +57,7 @@ function mirror_distro_arch () {
            distro="Fedora Core"
            rsyncurl=$fedora_url
            ;;
-       f*[7-9]|f1?)
+       f*[7-9]|f[12]?)
            distroindex=$(echo $distroname | sed -e "s,f,,g")
            distro="Fedora"
            rsyncurl=$fedora_url
index 301b838..b68bc40 100755 (executable)
@@ -214,6 +214,7 @@ function setup_vserver () {
     # not working with f16 anyways, systemd requires 2.6.36 to work
     case $fcdistro in 
        f1[5-9]) echo plain > /etc/vservers/$vserver/apps/init/style ;;
+       f2?)     echo plain > /etc/vservers/$vserver/apps/init/style ;;
     esac
 
     if [ "$pkg_method" = "yum" ] ; then