Update gfxcreate.sh
This commit is contained in:
@@ -43,6 +43,7 @@ do
|
|||||||
else "clone ERROR"; exit 1
|
else "clone ERROR"; exit 1
|
||||||
fi
|
fi
|
||||||
qm set $vmid --tags 3,gfx
|
qm set $vmid --tags 3,gfx
|
||||||
|
echo "args: -virtfs local,id=rfb,path=/mnt/pve/syno-tigra/shared/RFB,security_model=passthrough,mount_tag=rfb" >> /etc/pve/qemu-server/${vmid}.conf
|
||||||
## preparing custom CloudInit snippets
|
## preparing custom CloudInit snippets
|
||||||
cp ./gfx.yaml /mnt/pve/syno-tigra/snippets/${vmid}_user.yaml
|
cp ./gfx.yaml /mnt/pve/syno-tigra/snippets/${vmid}_user.yaml
|
||||||
sed -i "s/HOSTNAME/$hostname/g" /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