]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Changed example to use virtio and put key usage into one line.
authorJohn Wilkins <john.wilkins@inktank.com>
Wed, 14 May 2014 06:18:50 +0000 (23:18 -0700)
committerJohn Wilkins <john.wilkins@inktank.com>
Wed, 14 May 2014 06:18:50 +0000 (23:18 -0700)
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc/rbd/libvirt.rst

index 4813c3258d0e8c414ddfb3af55517fc14fc39f31..40d507f464f5cb03e0f3d2e44a80f9fe64916273 100644 (file)
@@ -190,7 +190,7 @@ commands, refer to `Virsh Command Reference`_.
                <source protocol='rbd' name='libvirt-pool/new-libvirt-image'>
                        <host name='{monitor-host}' port='6789'/>
                </source>
-               <target dev='hdb' bus='ide'/>
+               <target dev='vda' bus='virtio'/>
        </disk>
 
    Replace ``{monitor-host}`` with the name of your host, and replace the 
@@ -223,8 +223,7 @@ commands, refer to `Virsh Command Reference`_.
 
 #. Get the ``client.libvirt`` key and save the key string to a file. ::
 
-       sudo ceph auth list
-       vim client.libvirt.key
+       ceph auth get-key client.libvirt | sudo tee client.libvirt.key
 
 #. Set the UUID of the secret. ::