]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Default to Fedora 21 as 22 no longer uses yum
authorStéphane Graber <stgraber@ubuntu.com>
Sun, 19 Jul 2015 03:30:46 +0000 (23:30 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 14 Aug 2015 17:25:25 +0000 (13:25 -0400)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-fedora.in

index 13cde2747dd51871a395569e5279032cf46e1ab2..96d51bbb02c6a7a4c751ea9411f6e96f84815328 100644 (file)
@@ -577,7 +577,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
@@ -654,8 +654,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?!?!
@@ -687,7 +687,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-*