From 0d5c572d52e846d40a9ead3e63eedbf7b11c1af1 Mon Sep 17 00:00:00 2001 From: Ramy Asselin Date: Tue, 10 Mar 2015 10:14:08 -0700 Subject: [PATCH] Update dib script usage Update manual dib mounting instructions to match changes made in the tools/mount-image.sh script (I0deba1907f390f0d308ae6c8ed5448afbbf7688a) and add a reference to the script itself in the documentation. Change-Id: Ic72bf05f21cecb8bdff36956f3635c2f504c4dff --- nodepool/elements/README.rst | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/nodepool/elements/README.rst b/nodepool/elements/README.rst index 0dd63990ee..6b17659634 100644 --- a/nodepool/elements/README.rst +++ b/nodepool/elements/README.rst @@ -51,8 +51,17 @@ a loopback device using qemu-nbd. sudo apt-get install qemu-utils sudo modprobe nbd max_part=16 sudo mkdir -p /tmp/newimage - sudo qemu-nbd -c /dev/nbd1 devstack-gate-precise.qcow2 - sudo mount /dev/nbd1 /tmp/newimage + sudo qemu-nbd -c /dev/nbd1 /path/to/devstack-gate-precise.qcow2 + sudo mount /dev/nbd1p1 /tmp/newimage + +or use the scripts + +:: + + sudo apt-get install qemu-utils + sudo modprobe nbd max_part=16 + sudo tools/mount-image.sh devstack-gate-precise.qcow2 + sudo tools/umount-image.sh Other things ------------