From a7076d3b65e02682a67ac4c4f401db0538d2510f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20=C5=A0urda?= Date: Mon, 5 Dec 2022 12:40:34 +0800 Subject: [PATCH] Add deployment of libvirt user-data --- virt-install-all.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/virt-install-all.sh b/virt-install-all.sh index 55a5c25..b71da01 100755 --- a/virt-install-all.sh +++ b/virt-install-all.sh @@ -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