Update khlcreate.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user