vmm
branchv0.6.x
changeset 180 f8279c90e99c
parent 175 b241272eb1bd
child 183 eb4c73d9d0a4
--- a/vmm	Sat Jan 30 05:15:21 2010 +0000
+++ b/vmm	Mon Feb 01 18:46:17 2010 +0000
@@ -181,7 +181,7 @@
     print
 
 def configure():
-    if need_setup or len(argv) < 3:
+    if argc < 3:
         vmm.configure()
     else:
         vmm.configure(argv[2])
@@ -476,8 +476,7 @@
 
     vmm = get_vmm()
     try:
-        need_setup = not vmm.cfgDget('config.done')
-        if   argv[1] in (u'cf', u'configure') or need_setup:
+        if   argv[1] in (u'cf', u'configure'):
             configure()
         elif argv[1] in (u'da', u'domainadd'):
             domain_add()