materusPC: mount windows disk to non vfio vm

This commit is contained in:
Mateusz Słodkowicz 2024-10-24 11:11:32 +02:00
parent 0113129093
commit a5199290d4
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
1 changed files with 11 additions and 0 deletions

View File

@ -174,6 +174,17 @@ in
fi
if [ ''$1 = "windows" ]; then
if [ ''$2 = "prepare" ] && [ ''$3 = "begin" ]; then
systemctl stop windows-share-mount.service
fi
if [ ''$2 = "release" ] && [ ''$3 = "end" ]; then
systemctl start windows-share-mount.service
fi
fi
'';
};