diff --git a/khlcreate.sh b/khlcreate.sh index a2a2f4a..3eaf5dd 100644 --- a/khlcreate.sh +++ b/khlcreate.sh @@ -43,6 +43,7 @@ else "clone ERROR"; exit 1 fi qm set $vmid --tags 3,gfx + echo "args: -virtfs local,id=khl,path=/mnt/pve/syno-tigra/shared/KHL,security_model=passthrough,mount_tag=khl" >> /etc/pve/qemu-server/${vmid}.conf ## preparing custom CloudInit snippets cp ./khl.yaml /mnt/pve/syno-tigra/snippets/${vmid}_user.yaml sed -i "s/HOSTNAME/$hostname/g" /mnt/pve/syno-tigra/snippets/${vmid}_user.yaml