aboutsummaryrefslogtreecommitdiff
path: root/buildos
diff options
context:
space:
mode:
Diffstat (limited to 'buildos')
-rwxr-xr-xbuildos6
1 files changed, 6 insertions, 0 deletions
diff --git a/buildos b/buildos
index 692dc48..3657603 100755
--- a/buildos
+++ b/buildos
@@ -249,6 +249,11 @@ function print ()
echo
done
+
+ echo "host key:"
+ echo
+
+ openssl rsa -pubout -in /state/etc/host-key.pem 2>/dev/null
}
print | email "starting build os monitor"
@@ -760,6 +765,7 @@ function bbot_start () # <toolchain-name> <toolchain-index>
#
sed -i -r \
-e "s/%[iI]/$tn/g" \
+ -e "s#^(Environment=AUTH_KEY)=.*#\1=/state/etc/host-key.pem#" \
-e "s/^(Environment=CPU)=.*/\1=$cpu_slice/" \
-e "s/^(Environment=RAM)=.*/\1=$ram_slice/" \
-e "s/^(Environment=TOOLCHAIN_ID)=.*/\1=$ts/" \