8 lines
142 B
Bash
Executable File
8 lines
142 B
Bash
Executable File
#!/bin/bash
|
|
if [ "$VIRTUALISATION" = "true" ]
|
|
then
|
|
nbd=__NBD_INDEX__
|
|
umount /dev/nbd$nbd
|
|
qemu-nbd --disconnect /dev/nbd$nbd
|
|
fi
|