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

5 lines
76 B
Bash
Executable File

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