diff --git a/common b/common index 6d58f37f9..c840f2e39 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 6d58f37f956c90f271d6b7d266e0f668b77451c0 +Subproject commit c840f2e39d0bb637a98b224c89f6df011e1d4414 diff --git a/fish/guestfish.pod b/fish/guestfish.pod index 4b68a0725..c4fdd17b7 100644 --- a/fish/guestfish.pod +++ b/fish/guestfish.pod @@ -1187,7 +1187,7 @@ The equivalent API command would be: Add a disk located on Network Block Device (nbd) storage. -The I part of the URI specifies an NBD export name, but +The I part of the URI specifies an NBD export name, but is usually left empty. The optional I parameter can be used to specify a Unix domain diff --git a/fish/test-add-uri.sh b/fish/test-add-uri.sh index 756df997b..21d424984 100755 --- a/fish/test-add-uri.sh +++ b/fish/test-add-uri.sh @@ -59,7 +59,7 @@ $VG guestfish -x -a 'nbd://?socket=/sk' test-add-uri.out 2>&1 grep -sq 'add_drive "" "protocol:nbd" "server:unix:/sk"' test-add-uri.out || fail $VG guestfish -x -a 'nbd:///export?socket=/sk' test-add-uri.out 2>&1 -grep -sq 'add_drive "/export" "protocol:nbd" "server:unix:/sk"' test-add-uri.out || fail +grep -sq 'add_drive "export" "protocol:nbd" "server:unix:/sk"' test-add-uri.out || fail # rbd $VG guestfish -x -a rbd://example.com:6789/pool/disk test-add-uri.out 2>&1