add lut provider nodes, add 0.8 hack
authorMicah Anderson <micah@riseup.net>
Tue, 25 Oct 2016 15:51:00 +0000 (11:51 -0400)
committerMicah Anderson <micah@riseup.net>
Tue, 25 Oct 2016 16:52:22 +0000 (12:52 -0400)
bin/lut.sh

index ff6f09a..d014881 100755 (executable)
@@ -70,7 +70,7 @@ switch () {
 }
 
 cleanup () {
-    # leap vm rm upgrade
+#    leap vm stop upgrade
     rm -rf $workdir
     exit $1
 }
@@ -119,9 +119,11 @@ else
     else
         echo "Nodes initialized with old platform"
     fi
-    # temporary
+
+    # 0.8 hack, remove after 0.9 release
     switch $from_version
     $cli_from/bin/leap -v2 --yes deploy upgrade
+
     if [ $? -ne 0 ]; then
         cleanup 1
     else
@@ -130,6 +132,7 @@ else
     $cli_from/bin/leap test
     switch $to_version
     $cli_to/bin/leap -v2 --yes deploy upgrade
+
     if [ $? -ne 0 ]; then
         cleanup 1
     else