X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=source%2Fsteps%2FUpdateBootStateWithPLC.py;h=9f65d1bbc9f6483f6690dd2933ee7991c3d265ad;hb=4eea76a0545774fae808b29d94227be100872bf7;hp=cb9cff3ca1afda3b4b6a205a24e7c4959c9ba995;hpb=8381dfe5e46033ee8003bc2e3536002caf64bc16;p=bootmanager.git diff --git a/source/steps/UpdateBootStateWithPLC.py b/source/steps/UpdateBootStateWithPLC.py index cb9cff3..9f65d1b 100644 --- a/source/steps/UpdateBootStateWithPLC.py +++ b/source/steps/UpdateBootStateWithPLC.py @@ -1,4 +1,4 @@ -#!/usr/bin/python2 -u +#!/usr/bin/python # Copyright (c) 2003 Intel Corporation # All rights reserved. @@ -15,6 +15,10 @@ def Run( vars, log ): """ Change this nodes boot state at PLC. + The only valid transition is from reinstall to boot. All other changes to + the boot state of a node should be performed by the Admin, Tech or PI + through the API or Web interface. + The current value of the BOOT_STATE key in vars is used. Optionally, notify the contacts of the boot state change. If this is the case, the following keys/values