From 034ea341118c483a4adfa80e02523410d8720fa5 Mon Sep 17 00:00:00 2001 From: Beth Date: Fri, 28 Mar 2025 15:08:09 -0500 Subject: [PATCH] restore lines that got deleted by mistake --- scripts/create.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/create.sh b/scripts/create.sh index 75d6ad5..c1e4903 100644 --- a/scripts/create.sh +++ b/scripts/create.sh @@ -68,6 +68,14 @@ if [ -n "$attach" ]; then attach="--disk ${attach},discard=unmap";fi #determine if deflate should be on if [ -n "$deflate" ]; then deflate="--memballoon model=virtio,autodeflate=on";else deflate="--memballoon model=virtio";fi + +case "$variant" in + "archlinux") + # create cloud-init - replace by grabbing these directly from git + mkdir -p /tmp/cloud-init + + +echo "#cloud-config - name: root ssh_authorized_keys: - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILG56T1k766Cru14kyXI8WXSJwlO2sVhmH6JeRWy+mfe root@host.actcur.com" > /tmp/cloud-init/user-data