Revision 1af6ac0f
b/lib/backend.py | ||
---|---|---|
2675 | 2675 |
pid = 0 |
2676 | 2676 |
if pid > 0: |
2677 | 2677 |
return "Reboot scheduled in 5 seconds" |
2678 |
# ensure the child is running on ram |
|
2679 |
try: |
|
2680 |
utils.Mlockall() |
|
2681 |
except Exception: |
|
2682 |
pass |
|
2678 | 2683 |
time.sleep(5) |
2679 | 2684 |
hyper.PowercycleNode() |
2680 | 2685 |
|
Also available in: Unified diff