projects
/
ganeti-local
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Do not install init script in PREFIX/bin.
[ganeti-local]
/
lib
/
backend.py
diff --git
a/lib/backend.py
b/lib/backend.py
index
396b59d
..
068f964
100644
(file)
--- a/
lib/backend.py
+++ b/
lib/backend.py
@@
-170,6
+170,12
@@
def GetNodeInfo(vgname):
if hyp_info is not None:
outputarray.update(hyp_info)
+ f = open("/proc/sys/kernel/random/boot_id", 'r')
+ try:
+ outputarray["bootid"] = f.read(128).rstrip("\n")
+ finally:
+ f.close()
+
return outputarray