From 068220ad6ec2fa42b1d8dc407f60cbfe795b7106 Mon Sep 17 00:00:00 2001 From: oiseauroch Date: Tue, 29 Nov 2022 16:02:53 +0100 Subject: [PATCH] fix nbd --- conf/umount_disk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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