default NBD_DEVICE=/dev/nbd1

This commit is contained in:
Manfred Touron 2014-10-17 17:53:30 +00:00
parent d6ffe474c5
commit 3031b4e420
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ cli() {
exit 0
;;
"image")
NBD_DEVICE=$2
NBD_DEVICE=${2:-"/dev/nbd1"}
prepare_nbd_volume $NBD_DEVICE
build_image
patch_image