import utils
utils.prompt_for_breakpoint_mode()
- utils.breakpoint ("Entering BootManager::main")
+ #utils.breakpoint ("Entering BootManager::main")
global NodeRunStates
NodeRunStates = {'new':None,
# check which nodegroups we are part of (>=4.0)
extensions = [ "__main__" ]
- utils.breakpoint("querying nodegroups")
+ utils.breakpoint("querying nodegroups for loading extensions")
try:
# for (k,v) in vars.iteritems():
# print "vars['%s']='%s'"%(k,v)
except:
log.write("WARNING : Failed to query nodegroups - installing only core software\n")
- utils.breakpoint('query failure')
pass
# download and extract support tarball for this step, which has
url="PlanetLabConf/yum.conf.php"
dest="%s/etc/yum.conf"%SYSIMG_PATH
log.write("downloading bootstrap yum.conf\n")
- utils.breakpoint ("before getting yum.conf")
yumconf=bs_request.DownloadFile (url,getDict,None,
1, 1, dest)
if not yumconf:
# xxx how to check that this completed correctly ?
# let's cleanup
utils.sysexec_noerr( "umount %s/proc" % SYSIMG_PATH, log )
+ utils.breakpoint ("Done with yum extensions")
return 1
log.write( "Unable to create directory\n" )
return 0
- utils.breakpoint("Before fstab");
log.write( "Writing system /etc/fstab\n" )
fstab= file( "%s/etc/fstab" % SYSIMG_PATH, "w" )
fstab.write( "%s none swap sw 0 0\n" % \
# fstab.write( "none /rcfs rcfs defaults 0 0\n" )
fstab.close()
- utils.breakpoint("after fstab");
-
log.write( "Writing system /etc/issue\n" )
issue= file( "%s/etc/issue" % SYSIMG_PATH, "w" )
issue.write( "PlanetLab Node: \\n\n" )