use networks key if interfaces is missing. Band-aid for short period of time as old...
[nodemanager.git] / sliver_vs.py
index ed81f94..4245e53 100644 (file)
@@ -80,9 +80,10 @@ class Sliver_VS(accounts.Account, vserver.VServer):
         logger.verbose('sliver_vs: %s: create'%name)
         if vref is None:
             logger.log("sliver_vs: %s: ERROR - no vref attached, this is unexpected"%(name))
+            # added by caglar
             # band-aid for short period as old API doesn't have GetSliceFamily function
-            vref = "planetlab-f8-i386"
             #return
+            vref = "planetlab-f8-i386"
 
         # used to look in /etc/planetlab/family,
         # now relies on the 'GetSliceFamily' extra attribute in GetSlivers()