This commit is contained in:
oiseauroch 2022-11-29 16:02:53 +01:00
parent ac381b9490
commit 068220ad6e

View File

@ -1,7 +1,7 @@
#!/bin/bash
if [ "$VIRTUALISATION" = "true" ]
then
nbd=__NBD_INDEX__
nbd=$1
umount /dev/nbd$nbd
qemu-nbd --disconnect /dev/nbd$nbd
fi