restore lines that got deleted by mistake
This commit is contained in:
parent
214070fd35
commit
034ea34111
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue