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
This commit is contained in:
parent
be7c486c61
commit
0d5c572d52
@ -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
|
||||
------------
|
||||
|
Loading…
Reference in New Issue
Block a user