Clean up VM scripts a bit.

This commit is contained in:
Andreas B. Mundt 2023-09-04 13:20:17 +02:00
parent 3ea922c263
commit da71eed94b
5 changed files with 66 additions and 81 deletions

View file

@ -13,4 +13,4 @@ VM_NAME="$1"
## Make sure VMs can read the base directory:
chgrp 1010 "/lmn/media/${SUDO_USER}"
systemctl restart virtiofs@${VM_NAME}-clone:${SUDO_USER}.service
systemctl start virtiofs@${VM_NAME}-clone:${SUDO_USER}.service