garage_ynh/conf/umount_disk.sh
2022-09-12 11:00:57 +02:00

4 lines
76 B
Bash
Executable file

#!/bin/bash
nbd=$1
umount /dev/nbd$nbd
qemu-nbd --disconnect /dev/nbd$nbd