From 10852adb1b275406f2244c39715c71f63c47fde5 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Thu, 26 Aug 2010 13:28:59 +0200
Subject: [PATCH] hspace: mark new instances as running

Otherwise the saved cluster state and the in-memory one are wrong.
---
 hspace.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hspace.hs b/hspace.hs
index 854848e9c..8b8405c76 100644
--- a/hspace.hs
+++ b/hspace.hs
@@ -268,7 +268,7 @@ main = do
 
   -- utility functions
   let iofspec spx = Instance.create "new" (rspecMem spx) (rspecDsk spx)
-                    (rspecCpu spx) "ADMIN_down" [] (-1) (-1)
+                    (rspecCpu spx) "running" [] (-1) (-1)
       exitifbad val = (case val of
                          Bad s -> do
                            hPrintf stderr "Failure: %s\n" s :: IO ()
-- 
GitLab