fix nbd
This commit is contained in:
parent
ac381b9490
commit
068220ad6e
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
if [ "$VIRTUALISATION" = "true" ]
|
if [ "$VIRTUALISATION" = "true" ]
|
||||||
then
|
then
|
||||||
nbd=__NBD_INDEX__
|
nbd=$1
|
||||||
umount /dev/nbd$nbd
|
umount /dev/nbd$nbd
|
||||||
qemu-nbd --disconnect /dev/nbd$nbd
|
qemu-nbd --disconnect /dev/nbd$nbd
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user