Add tools for mounting VHD as NBD from Linux

This commit is contained in:
2026-09-08 02:44:14 +08:00
parent 895a4c00a1
commit 7afd4fdd0c
5 changed files with 115 additions and 0 deletions
Executable
+6
View File
@@ -0,0 +1,6 @@
#!/bin/bash
# returns succesful when nbd is ready
if [ -b /dev/nbd0 ]; then
exit 0
fi
exit 1