Add deployment of libvirt user-data
This commit is contained in:
parent
fd0967a53d
commit
a7076d3b65
|
@ -144,6 +144,8 @@ cores=$(grep -E '^cpu cores' /proc/cpuinfo |head -1|cut -d: -f2|tr -d '[:space:]
|
|||
mem=$(sed -E 's/^MemTotal: +([0-9]+) kB/\1/p;d' < /proc/meminfo)
|
||||
mempercore=$(((mem/1024-4096)/cores))
|
||||
|
||||
cp -f /usr/src/buildbot-workers/*.user /var/lib/libvirt/backingstore
|
||||
|
||||
# elcapitan 1
|
||||
|
||||
for i in $(seq "$cores"); do
|
||||
|
|
Loading…
Reference in New Issue
Block a user