default NBD_DEVICE=/dev/nbd1
This commit is contained in:
parent
d6ffe474c5
commit
3031b4e420
|
@ -85,7 +85,7 @@ cli() {
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
"image")
|
"image")
|
||||||
NBD_DEVICE=$2
|
NBD_DEVICE=${2:-"/dev/nbd1"}
|
||||||
prepare_nbd_volume $NBD_DEVICE
|
prepare_nbd_volume $NBD_DEVICE
|
||||||
build_image
|
build_image
|
||||||
patch_image
|
patch_image
|
||||||
|
|
Loading…
Reference in New Issue