From 25f0e80cb3dfc0914a143aca030bd24fea7b619f Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Mon, 23 Aug 2010 16:15:30 -0400 Subject: [PATCH] hardcode planetlab-f8-i386 as a vref until migration from 4.3 to 5.0 completes --- sliver_vs.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sliver_vs.py b/sliver_vs.py index ea0d21d..ed81f94 100644 --- a/sliver_vs.py +++ b/sliver_vs.py @@ -80,7 +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)) - return + # band-aid for short period as old API doesn't have GetSliceFamily function + vref = "planetlab-f8-i386" + #return + # used to look in /etc/planetlab/family, # now relies on the 'GetSliceFamily' extra attribute in GetSlivers() # which for legacy is still exposed here as the 'vref' key -- 2.43.0