diff --git a/conf/umount_disk.sh b/conf/umount_disk.sh index 1e11d56..7cc5880 100755 --- a/conf/umount_disk.sh +++ b/conf/umount_disk.sh @@ -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