From 5e31bd90b35a21e969d68ab6a8aa204c5074a507 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 6 Jan 2014 14:59:59 +0100 Subject: [PATCH] tweaks for f20 --- vbuild-fedora-mirror.sh | 2 +- vbuild-init-vserver.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/vbuild-fedora-mirror.sh b/vbuild-fedora-mirror.sh index a7454534..243ab7ca 100755 --- a/vbuild-fedora-mirror.sh +++ b/vbuild-fedora-mirror.sh @@ -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 diff --git a/vbuild-init-vserver.sh b/vbuild-init-vserver.sh index 301b8389..b68bc404 100755 --- a/vbuild-init-vserver.sh +++ b/vbuild-init-vserver.sh @@ -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 -- 2.47.0