restore lines that got deleted by mistake

This commit is contained in:
Beth Parker 2025-03-28 15:08:09 -05:00
parent 214070fd35
commit 034ea34111

View file

@ -68,6 +68,14 @@ if [ -n "$attach" ]; then attach="--disk ${attach},discard=unmap";fi
#determine if deflate should be on #determine if deflate should be on
if [ -n "$deflate" ]; then deflate="--memballoon model=virtio,autodeflate=on";else deflate="--memballoon model=virtio";fi 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 - name: root
ssh_authorized_keys: ssh_authorized_keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILG56T1k766Cru14kyXI8WXSJwlO2sVhmH6JeRWy+mfe root@host.actcur.com" > /tmp/cloud-init/user-data - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILG56T1k766Cru14kyXI8WXSJwlO2sVhmH6JeRWy+mfe root@host.actcur.com" > /tmp/cloud-init/user-data