From c28d2f446b1cfc3871a4e4303c7c7d459dde15e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= Date: Sat, 18 Jul 2015 23:30:46 -0400 Subject: [PATCH] Default to Fedora 21 as 22 no longer uses yum MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber --- templates/lxc-fedora.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/lxc-fedora.in b/templates/lxc-fedora.in index 075c28ff3..e1e5e6011 100644 --- a/templates/lxc-fedora.in +++ b/templates/lxc-fedora.in @@ -587,7 +587,7 @@ Have a beer or a cup of coffee. This will take a bit (~300MB). # Right now, we are using Fedora 22 for the inial bootstrap. # We could make this the "current" Fedora rev (F > 15). - rsync -av ${mirrorurl}/releases/22/Workstation/$basearch/os/LiveOS . + rsync -av ${mirrorurl}/releases/22/Fedora/$basearch/os/LiveOS . if [[ 0 == $? ]] then @@ -664,8 +664,8 @@ This will take a couple of minutes. Patience..." # of this LiveOS image we're camped out on. This is the beginning # of the butt ugly hack. Look close or you may missing it... - rsync -av ${mirrorurl}/releases/22/Workstation/$basearch/os/Packages/r/rpm-[0-9]* \ - ${mirrorurl}/releases/22/Workstation/$basearch/os/Packages/y/yum-[0-9]* . + rsync -av ${mirrorurl}/releases/22/Fedora/$basearch/os/Packages/r/rpm-[0-9]* \ + ${mirrorurl}/releases/22/Fedora/$basearch/os/Packages/y/yum-[0-9]* . # And here it is... # The --nodeps is STUPID but F15 had a bogus dependency on RawHide?!?! @@ -697,7 +697,7 @@ This will take a couple of minutes. Patience..." echo "Stage 1 creation complete. Building stage 2 Installation Bootstrap" mount -o bind ../bootstrap run/install - rsync -av ${mirrorurl}/releases/22/Workstation/$basearch/os/Packages/f/fedora-release-22* . + rsync -av ${mirrorurl}/releases/22/Fedora/$basearch/os/Packages/f/fedora-release-22* . # The --nodeps is STUPID but F15 had a bogus dependency on RawHide?!?! chroot . rpm --root /run/install --nodeps -ivh fedora-release-*