3 # Copyright (c) 2003 Intel Corporation
6 # Copyright (c) 2004-2006 The Trustees of Princeton University
12 from Exceptions import *
18 Start the RunlevelAgent.py script. Should follow
19 AuthenticateWithPLC() in order to guarantee that
20 /etc/planetlab/session is present.
23 log.write( "\n\nStep: Starting RunlevelAgent.py\n" )
26 cmd = "%s/RunlevelAgent.py" % vars['BM_SOURCE_DIR']
27 # raise error if script is not present.
29 # init script only starts RLA once.
30 os.system("/usr/bin/python %s start bootmanager &" % cmd)
32 raise BootManagerException, "Missing variable in vars: %s\n" % var
33 except ValueError, var:
34 raise BootManagerException, "Variable in vars, shouldn't be: %s\n" % var