Ubuntu Pastebin

Paste from csmith at Tue, 2 May 2017 19:48:00 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
diff --git a/bin/get-proposed-cloudimg b/bin/get-proposed-cloudimg
index c29a72a..65aa22c 100755
--- a/bin/get-proposed-cloudimg
+++ b/bin/get-proposed-cloudimg
@@ -6,7 +6,12 @@ burl="http://cloud-images.ubuntu.com/daily/server"
 fname=$rel-server-cloudimg-amd64.img
 ofname="$fname"
 case "$rel" in
-    precise|trusty|xenial) ofname="$rel-server-cloudimg-amd64-disk1.img"
+    precise|trusty|xenial)
+       ofname="$rel-server-cloudimg-amd64-disk1.img" ;;
+    zesty)
+       ofname="$rel-server-cloudimg-amd64.img" ;;
+    *) echo "Usage: expected release ($rel) in (precise|trusty|xenial|zesty)";
+       exit 1 ;;
 esac
 pfname="${fname%.img}-proposed.img"
 raw="${fname%.img}.raw"
Download as text