)]}'
{"doc/image-guide-rst/source/modify-images.rst":[{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"5000337fdb1db2188902241e11ddf6a07f535ef9","unresolved":false,"context_lines":[{"line_number":58,"context_line":""},{"line_number":59,"context_line":"   \u003e\u003cfs\u003e"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"This starts a guestfish session. Note that the guestfish"},{"line_number":62,"context_line":"prompt looks like a fish: ``\u003e \u003cfs\u003e``."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"We must first use the ``run`` command at the guestfish"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_3f27a565","line":61,"updated":"2015-11-18 03:21:08.000000000","message":"This should probably go in a note. This was a mistake from the original conversion I think.","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10497,"name":"KATO Tomoyuki","email":"kato.tomoyuki@jp.fujitsu.com","username":"to222"},"change_message_id":"e3aaf00a4c004a6d6c5caca3500524b60b366d31","unresolved":false,"context_lines":[{"line_number":58,"context_line":""},{"line_number":59,"context_line":"   \u003e\u003cfs\u003e"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"This starts a guestfish session. Note that the guestfish"},{"line_number":62,"context_line":"prompt looks like a fish: ``\u003e \u003cfs\u003e``."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"We must first use the ``run`` command at the guestfish"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_2558f631","line":61,"in_reply_to":"ba8a016a_3f27a565","updated":"2015-11-18 04:38:11.000000000","message":"Done","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"5000337fdb1db2188902241e11ddf6a07f535ef9","unresolved":false,"context_lines":[{"line_number":61,"context_line":"This starts a guestfish session. Note that the guestfish"},{"line_number":62,"context_line":"prompt looks like a fish: ``\u003e \u003cfs\u003e``."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"We must first use the ``run`` command at the guestfish"},{"line_number":65,"context_line":"prompt before we can do anything else."},{"line_number":66,"context_line":"This will launch a virtual machine, which will"},{"line_number":67,"context_line":"be used to perform all of the file manipulations."}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_bfc9557a","line":64,"updated":"2015-11-18 03:21:08.000000000","message":"This next bit is a procedure, should we change this to a numbered list of sorts?","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10497,"name":"KATO Tomoyuki","email":"kato.tomoyuki@jp.fujitsu.com","username":"to222"},"change_message_id":"e3aaf00a4c004a6d6c5caca3500524b60b366d31","unresolved":false,"context_lines":[{"line_number":61,"context_line":"This starts a guestfish session. Note that the guestfish"},{"line_number":62,"context_line":"prompt looks like a fish: ``\u003e \u003cfs\u003e``."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"We must first use the ``run`` command at the guestfish"},{"line_number":65,"context_line":"prompt before we can do anything else."},{"line_number":66,"context_line":"This will launch a virtual machine, which will"},{"line_number":67,"context_line":"be used to perform all of the file manipulations."}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_a56386db","line":64,"in_reply_to":"ba8a016a_bfc9557a","updated":"2015-11-18 04:38:11.000000000","message":"Done","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"5000337fdb1db2188902241e11ddf6a07f535ef9","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"   \u003e\u003cfs\u003e chmod 0755 /etc/sysconfig/modules/8021q.modules"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"We\u0027re done, so we can exit using the ``exit`` command:"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":".. code-block:: console"},{"line_number":131,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_7fa20db0","line":128,"updated":"2015-11-18 03:21:08.000000000","message":"We are*","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10497,"name":"KATO Tomoyuki","email":"kato.tomoyuki@jp.fujitsu.com","username":"to222"},"change_message_id":"e3aaf00a4c004a6d6c5caca3500524b60b366d31","unresolved":false,"context_lines":[{"line_number":125,"context_line":""},{"line_number":126,"context_line":"   \u003e\u003cfs\u003e chmod 0755 /etc/sysconfig/modules/8021q.modules"},{"line_number":127,"context_line":""},{"line_number":128,"context_line":"We\u0027re done, so we can exit using the ``exit`` command:"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":".. code-block:: console"},{"line_number":131,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_c55eca11","line":128,"in_reply_to":"ba8a016a_7fa20db0","updated":"2015-11-18 04:38:11.000000000","message":"Done","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"5000337fdb1db2188902241e11ddf6a07f535ef9","unresolved":false,"context_lines":[{"line_number":143,"context_line":"guestmount"},{"line_number":144,"context_line":"~~~~~~~~~~"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"\u003cpara\u003eFor some types of changes, you may find it easier to"},{"line_number":147,"context_line":"mount the image\u0027s file system directly in the guest."},{"line_number":148,"context_line":"The ``guestmount`` program, also from the"},{"line_number":149,"context_line":"libguestfs project, allows you to do so."}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_7f89ad25","line":146,"updated":"2015-11-18 03:21:08.000000000","message":"Remove the \u003cpara\u003e :)","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10497,"name":"KATO Tomoyuki","email":"kato.tomoyuki@jp.fujitsu.com","username":"to222"},"change_message_id":"e3aaf00a4c004a6d6c5caca3500524b60b366d31","unresolved":false,"context_lines":[{"line_number":143,"context_line":"guestmount"},{"line_number":144,"context_line":"~~~~~~~~~~"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"\u003cpara\u003eFor some types of changes, you may find it easier to"},{"line_number":147,"context_line":"mount the image\u0027s file system directly in the guest."},{"line_number":148,"context_line":"The ``guestmount`` program, also from the"},{"line_number":149,"context_line":"libguestfs project, allows you to do so."}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_25a6b610","line":146,"in_reply_to":"ba8a016a_7f89ad25","updated":"2015-11-18 04:38:11.000000000","message":"Done","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"5000337fdb1db2188902241e11ddf6a07f535ef9","unresolved":false,"context_lines":[{"line_number":155,"context_line":""},{"line_number":156,"context_line":"   # guestmount -a centos63_desktop.qcow2 -m /dev/vg_centosbase/lv_root --rw /mnt"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"If we didn\u0027t know in advance what the mount point is in"},{"line_number":159,"context_line":"the guest, we could use the ``-i`` (inspect) flag to tell guestmount"},{"line_number":160,"context_line":"to automatically determine what mount point to use:"},{"line_number":161,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_3f832506","line":158,"updated":"2015-11-18 03:21:08.000000000","message":"did not*","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10497,"name":"KATO Tomoyuki","email":"kato.tomoyuki@jp.fujitsu.com","username":"to222"},"change_message_id":"e3aaf00a4c004a6d6c5caca3500524b60b366d31","unresolved":false,"context_lines":[{"line_number":155,"context_line":""},{"line_number":156,"context_line":"   # guestmount -a centos63_desktop.qcow2 -m /dev/vg_centosbase/lv_root --rw /mnt"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"If we didn\u0027t know in advance what the mount point is in"},{"line_number":159,"context_line":"the guest, we could use the ``-i`` (inspect) flag to tell guestmount"},{"line_number":160,"context_line":"to automatically determine what mount point to use:"},{"line_number":161,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_e5b0ae45","line":158,"in_reply_to":"ba8a016a_3f832506","updated":"2015-11-18 04:38:11.000000000","message":"Done","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"5000337fdb1db2188902241e11ddf6a07f535ef9","unresolved":false,"context_lines":[{"line_number":169,"context_line":""},{"line_number":170,"context_line":"   # rpm -qa --dbpath /mnt/var/lib/rpm"},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"Once done, we unmount:"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":".. code-block:: console"},{"line_number":175,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_ff7d9d1c","line":172,"updated":"2015-11-18 03:21:08.000000000","message":"I think this should also be in a numbered list :)","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10497,"name":"KATO Tomoyuki","email":"kato.tomoyuki@jp.fujitsu.com","username":"to222"},"change_message_id":"e3aaf00a4c004a6d6c5caca3500524b60b366d31","unresolved":false,"context_lines":[{"line_number":169,"context_line":""},{"line_number":170,"context_line":"   # rpm -qa --dbpath /mnt/var/lib/rpm"},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"Once done, we unmount:"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":".. code-block:: console"},{"line_number":175,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_65835e57","line":172,"in_reply_to":"ba8a016a_ff7d9d1c","updated":"2015-11-18 04:38:11.000000000","message":"Done","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"5000337fdb1db2188902241e11ddf6a07f535ef9","unresolved":false,"context_lines":[{"line_number":229,"context_line":"   /dev/sda2  partition  07   16G   /dev/sda"},{"line_number":230,"context_line":"   /dev/sda   device     -    16G   -"},{"line_number":231,"context_line":""},{"line_number":232,"context_line":"In this case, it\u0027s the ``/dev/sda2`` partition that we want to resize."},{"line_number":233,"context_line":"We create a new qcow2 image and use the ``virt-resize`` command to"},{"line_number":234,"context_line":"write a resized copy of the original into the new image:"},{"line_number":235,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_df721949","line":232,"updated":"2015-11-18 03:21:08.000000000","message":"it is*","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10497,"name":"KATO Tomoyuki","email":"kato.tomoyuki@jp.fujitsu.com","username":"to222"},"change_message_id":"e3aaf00a4c004a6d6c5caca3500524b60b366d31","unresolved":false,"context_lines":[{"line_number":229,"context_line":"   /dev/sda2  partition  07   16G   /dev/sda"},{"line_number":230,"context_line":"   /dev/sda   device     -    16G   -"},{"line_number":231,"context_line":""},{"line_number":232,"context_line":"In this case, it\u0027s the ``/dev/sda2`` partition that we want to resize."},{"line_number":233,"context_line":"We create a new qcow2 image and use the ``virt-resize`` command to"},{"line_number":234,"context_line":"write a resized copy of the original into the new image:"},{"line_number":235,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_e5974e8e","line":232,"in_reply_to":"ba8a016a_df721949","updated":"2015-11-18 04:38:11.000000000","message":"Done","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"5000337fdb1db2188902241e11ddf6a07f535ef9","unresolved":false,"context_lines":[{"line_number":257,"context_line":"    100% ⟦▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓⟧ 00:00"},{"line_number":258,"context_line":"   Expanding /dev/sda2 using the \u0027ntfsresize\u0027 method ..."},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"   Resize operation completed with no errors.  Before deleting the old"},{"line_number":261,"context_line":"   disk, carefully check that the resized disk boots and works correctly."},{"line_number":262,"context_line":""},{"line_number":263,"context_line":"Loop devices, kpartx, network block devices"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_5f9dc957","line":260,"updated":"2015-11-18 03:21:08.000000000","message":"Remove the double space after the period here","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10497,"name":"KATO Tomoyuki","email":"kato.tomoyuki@jp.fujitsu.com","username":"to222"},"change_message_id":"e3aaf00a4c004a6d6c5caca3500524b60b366d31","unresolved":false,"context_lines":[{"line_number":257,"context_line":"    100% ⟦▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓⟧ 00:00"},{"line_number":258,"context_line":"   Expanding /dev/sda2 using the \u0027ntfsresize\u0027 method ..."},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"   Resize operation completed with no errors.  Before deleting the old"},{"line_number":261,"context_line":"   disk, carefully check that the resized disk boots and works correctly."},{"line_number":262,"context_line":""},{"line_number":263,"context_line":"Loop devices, kpartx, network block devices"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_059372a4","line":260,"in_reply_to":"ba8a016a_5f9dc957","updated":"2015-11-18 04:38:11.000000000","message":"Done","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"5000337fdb1db2188902241e11ddf6a07f535ef9","unresolved":false,"context_lines":[{"line_number":263,"context_line":"Loop devices, kpartx, network block devices"},{"line_number":264,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":265,"context_line":""},{"line_number":266,"context_line":"If you don\u0027t have access to libguestfs, you can mount"},{"line_number":267,"context_line":"image file systems directly in the host using loop"},{"line_number":268,"context_line":"devices, kpartx, and network block devices."},{"line_number":269,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_1fa0a18f","line":266,"updated":"2015-11-18 03:21:08.000000000","message":"do not*","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10497,"name":"KATO Tomoyuki","email":"kato.tomoyuki@jp.fujitsu.com","username":"to222"},"change_message_id":"e3aaf00a4c004a6d6c5caca3500524b60b366d31","unresolved":false,"context_lines":[{"line_number":263,"context_line":"Loop devices, kpartx, network block devices"},{"line_number":264,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":265,"context_line":""},{"line_number":266,"context_line":"If you don\u0027t have access to libguestfs, you can mount"},{"line_number":267,"context_line":"image file systems directly in the host using loop"},{"line_number":268,"context_line":"devices, kpartx, and network block devices."},{"line_number":269,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_45f73af5","line":266,"in_reply_to":"ba8a016a_1fa0a18f","updated":"2015-11-18 04:38:11.000000000","message":"Done","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"5000337fdb1db2188902241e11ddf6a07f535ef9","unresolved":false,"context_lines":[{"line_number":328,"context_line":"   # mkdir /mnt/image"},{"line_number":329,"context_line":"   # mount /dev/mapper/loop0p2 /mnt"},{"line_number":330,"context_line":""},{"line_number":331,"context_line":"Once you\u0027re done, to clean up:"},{"line_number":332,"context_line":""},{"line_number":333,"context_line":".. code-block:: console"},{"line_number":334,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_1fc74146","line":331,"updated":"2015-11-18 03:21:08.000000000","message":"you are*","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10497,"name":"KATO Tomoyuki","email":"kato.tomoyuki@jp.fujitsu.com","username":"to222"},"change_message_id":"e3aaf00a4c004a6d6c5caca3500524b60b366d31","unresolved":false,"context_lines":[{"line_number":328,"context_line":"   # mkdir /mnt/image"},{"line_number":329,"context_line":"   # mount /dev/mapper/loop0p2 /mnt"},{"line_number":330,"context_line":""},{"line_number":331,"context_line":"Once you\u0027re done, to clean up:"},{"line_number":332,"context_line":""},{"line_number":333,"context_line":".. code-block:: console"},{"line_number":334,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_05da9278","line":331,"in_reply_to":"ba8a016a_1fc74146","updated":"2015-11-18 04:38:11.000000000","message":"Done","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"5000337fdb1db2188902241e11ddf6a07f535ef9","unresolved":false,"context_lines":[{"line_number":356,"context_line":".. code-block:: console"},{"line_number":357,"context_line":""},{"line_number":358,"context_line":"   # vgscan"},{"line_number":359,"context_line":"   Reading all physical volumes.  This may take a while..."},{"line_number":360,"context_line":"   Found volume group \"vg_rhel62x8664\" using metadata type lvm2"},{"line_number":361,"context_line":"   # vgchange -ay"},{"line_number":362,"context_line":"   2 logical volume(s) in volume group \"vg_rhel62x8664\" now active"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_5feb89b0","line":359,"updated":"2015-11-18 03:21:08.000000000","message":"Remove the double space after this period too. And probably remove the ellipses at the end here.","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10497,"name":"KATO Tomoyuki","email":"kato.tomoyuki@jp.fujitsu.com","username":"to222"},"change_message_id":"e3aaf00a4c004a6d6c5caca3500524b60b366d31","unresolved":false,"context_lines":[{"line_number":356,"context_line":".. code-block:: console"},{"line_number":357,"context_line":""},{"line_number":358,"context_line":"   # vgscan"},{"line_number":359,"context_line":"   Reading all physical volumes.  This may take a while..."},{"line_number":360,"context_line":"   Found volume group \"vg_rhel62x8664\" using metadata type lvm2"},{"line_number":361,"context_line":"   # vgchange -ay"},{"line_number":362,"context_line":"   2 logical volume(s) in volume group \"vg_rhel62x8664\" now active"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_8509a2df","line":359,"in_reply_to":"ba8a016a_5feb89b0","updated":"2015-11-18 04:38:11.000000000","message":"removed space.\n\nthe ellipses at the end is the command output as is.","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"5000337fdb1db2188902241e11ddf6a07f535ef9","unresolved":false,"context_lines":[{"line_number":362,"context_line":"   2 logical volume(s) in volume group \"vg_rhel62x8664\" now active"},{"line_number":363,"context_line":"   # mount /dev/vg_rhel62x8664/lv_root /mnt"},{"line_number":364,"context_line":""},{"line_number":365,"context_line":"Clean up when you\u0027re done:"},{"line_number":366,"context_line":""},{"line_number":367,"context_line":".. code-block:: console"},{"line_number":368,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_ffd27dff","line":365,"updated":"2015-11-18 03:21:08.000000000","message":"you are*","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10497,"name":"KATO Tomoyuki","email":"kato.tomoyuki@jp.fujitsu.com","username":"to222"},"change_message_id":"e3aaf00a4c004a6d6c5caca3500524b60b366d31","unresolved":false,"context_lines":[{"line_number":362,"context_line":"   2 logical volume(s) in volume group \"vg_rhel62x8664\" now active"},{"line_number":363,"context_line":"   # mount /dev/vg_rhel62x8664/lv_root /mnt"},{"line_number":364,"context_line":""},{"line_number":365,"context_line":"Clean up when you\u0027re done:"},{"line_number":366,"context_line":""},{"line_number":367,"context_line":".. code-block:: console"},{"line_number":368,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_05f612d7","line":365,"in_reply_to":"ba8a016a_ffd27dff","updated":"2015-11-18 04:38:11.000000000","message":"Done","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"5000337fdb1db2188902241e11ddf6a07f535ef9","unresolved":false,"context_lines":[{"line_number":416,"context_line":"   # mkdir /mnt/image"},{"line_number":417,"context_line":"   # mount /dev/nbd3p2 /mnt"},{"line_number":418,"context_line":""},{"line_number":419,"context_line":"When you\u0027re done, clean up:"},{"line_number":420,"context_line":""},{"line_number":421,"context_line":".. code-block:: console"},{"line_number":422,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_bfdcf512","line":419,"updated":"2015-11-18 03:21:08.000000000","message":"you are*","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10497,"name":"KATO Tomoyuki","email":"kato.tomoyuki@jp.fujitsu.com","username":"to222"},"change_message_id":"e3aaf00a4c004a6d6c5caca3500524b60b366d31","unresolved":false,"context_lines":[{"line_number":416,"context_line":"   # mkdir /mnt/image"},{"line_number":417,"context_line":"   # mount /dev/nbd3p2 /mnt"},{"line_number":418,"context_line":""},{"line_number":419,"context_line":"When you\u0027re done, clean up:"},{"line_number":420,"context_line":""},{"line_number":421,"context_line":".. code-block:: console"},{"line_number":422,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_652d9e45","line":419,"in_reply_to":"ba8a016a_bfdcf512","updated":"2015-11-18 04:38:11.000000000","message":"Done","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10607,"name":"Alexandra Settle","email":"a.settle@outlook.com","username":"asettle"},"change_message_id":"5000337fdb1db2188902241e11ddf6a07f535ef9","unresolved":false,"context_lines":[{"line_number":442,"context_line":"   2 logical volume(s) in volume group \"vg_rhel62x8664\" now active"},{"line_number":443,"context_line":"   # mount /dev/vg_rhel62x8664/lv_root /mnt"},{"line_number":444,"context_line":""},{"line_number":445,"context_line":"When you\u0027re done, clean up:"},{"line_number":446,"context_line":""},{"line_number":447,"context_line":".. code-block:: console"},{"line_number":448,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_9f081193","line":445,"updated":"2015-11-18 03:21:08.000000000","message":"you are*","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":10497,"name":"KATO Tomoyuki","email":"kato.tomoyuki@jp.fujitsu.com","username":"to222"},"change_message_id":"e3aaf00a4c004a6d6c5caca3500524b60b366d31","unresolved":false,"context_lines":[{"line_number":442,"context_line":"   2 logical volume(s) in volume group \"vg_rhel62x8664\" now active"},{"line_number":443,"context_line":"   # mount /dev/vg_rhel62x8664/lv_root /mnt"},{"line_number":444,"context_line":""},{"line_number":445,"context_line":"When you\u0027re done, clean up:"},{"line_number":446,"context_line":""},{"line_number":447,"context_line":".. code-block:: console"},{"line_number":448,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"ba8a016a_a5f2a6d0","line":445,"in_reply_to":"ba8a016a_9f081193","updated":"2015-11-18 04:38:11.000000000","message":"Done","commit_id":"71edee6bd1157f650aff5ddba0b6bfe0227e6455"},{"author":{"_account_id":14396,"name":"Alexander Adamov","email":"aadamov@mirantis.com","username":"Alexander"},"change_message_id":"9b84a9df8a1b7f0894983ed9c40f8adc35f29a10","unresolved":false,"context_lines":[{"line_number":4,"context_line":""},{"line_number":5,"context_line":"Once you have obtained a virtual machine image, you may want"},{"line_number":6,"context_line":"to make some changes to it before uploading it to the"},{"line_number":7,"context_line":"OpenStack Image service. Here we describe several tools"},{"line_number":8,"context_line":"available that allow you to modify images."},{"line_number":9,"context_line":""},{"line_number":10,"context_line":".. warning::"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba8a016a_c3b9d816","line":7,"updated":"2015-11-18 10:25:50.000000000","message":"it\u0027s not related to RST migration but we don\u0027t need \"OpenStack\" in \"OpenStack Image service\"\nSee http://docs.openstack.org/contributor-guide/writing-style/openstack-components.html","commit_id":"27cc91f79a331054006c35c70fe014082eb7f1d9"},{"author":{"_account_id":14396,"name":"Alexander Adamov","email":"aadamov@mirantis.com","username":"Alexander"},"change_message_id":"9b84a9df8a1b7f0894983ed9c40f8adc35f29a10","unresolved":false,"context_lines":[{"line_number":17,"context_line":"guestfish"},{"line_number":18,"context_line":"~~~~~~~~~"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"The ``guestfish`` program is a tool from the"},{"line_number":21,"context_line":"`libguestfs \u003chttp://libguestfs.org/\u003e`_ project that allows"},{"line_number":22,"context_line":"you to modify the files inside of a virtual machine image."},{"line_number":23,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba8a016a_e36adcb2","line":20,"updated":"2015-11-18 10:25:50.000000000","message":":program:`guestfish` here and below\nSee http://docs.openstack.org/contributor-guide/rst-conv/inline-markups.html","commit_id":"27cc91f79a331054006c35c70fe014082eb7f1d9"},{"author":{"_account_id":14396,"name":"Alexander Adamov","email":"aadamov@mirantis.com","username":"Alexander"},"change_message_id":"9b84a9df8a1b7f0894983ed9c40f8adc35f29a10","unresolved":false,"context_lines":[{"line_number":26,"context_line":"   ``guestfish`` does not mount the image directly into the"},{"line_number":27,"context_line":"   local file system. Instead, it provides you with a shell"},{"line_number":28,"context_line":"   interface that enables you to view, edit, and delete files."},{"line_number":29,"context_line":"   Many of ``guestfish`` commands, such as ``touch``,"},{"line_number":30,"context_line":"   ``chmod``, and ``rm``, resemble traditional bash commands."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"Example guestfish session"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba8a016a_83899077","line":29,"updated":"2015-11-18 10:25:50.000000000","message":":command:`touch` here and below for other commands\nhttp://docs.openstack.org/contributor-guide/rst-conv/inline-markups.html","commit_id":"27cc91f79a331054006c35c70fe014082eb7f1d9"},{"author":{"_account_id":6635,"name":"John Davidge","email":"john.davidge@rackspace.com","username":"john-davidge"},"change_message_id":"a6fe8bb6e70087919b1332084f763d7446897907","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"   Do not attempt to use these tools to modify an image"},{"line_number":12,"context_line":"   that is attached to a running virtual machine."},{"line_number":13,"context_line":"   These tools are designed to only modify images that"},{"line_number":14,"context_line":"   are not currently running."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"guestfish"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ba8a016a_9871ebaa","line":13,"updated":"2015-11-18 15:25:12.000000000","message":"to only -\u003e only to","commit_id":"44e03aaf584cc5b2a50e47bb2c46bdaceda60c2c"},{"author":{"_account_id":10497,"name":"KATO Tomoyuki","email":"kato.tomoyuki@jp.fujitsu.com","username":"to222"},"change_message_id":"7a9f784578d2598c66c6c900905e2b8e3bbc6117","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"   Do not attempt to use these tools to modify an image"},{"line_number":12,"context_line":"   that is attached to a running virtual machine."},{"line_number":13,"context_line":"   These tools are designed to only modify images that"},{"line_number":14,"context_line":"   are not currently running."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"guestfish"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ba8a016a_51e34aa4","line":13,"in_reply_to":"ba8a016a_9871ebaa","updated":"2015-11-18 22:18:44.000000000","message":"Done","commit_id":"44e03aaf584cc5b2a50e47bb2c46bdaceda60c2c"},{"author":{"_account_id":6635,"name":"John Davidge","email":"john.davidge@rackspace.com","username":"john-davidge"},"change_message_id":"a6fe8bb6e70087919b1332084f763d7446897907","unresolved":false,"context_lines":[{"line_number":25,"context_line":"   :program:`guestfish` does not mount the image directly into the"},{"line_number":26,"context_line":"   local file system. Instead, it provides you with a shell"},{"line_number":27,"context_line":"   interface that enables you to view, edit, and delete files."},{"line_number":28,"context_line":"   Many of :command:`guestfish` commands, such as `:command:`touch``,"},{"line_number":29,"context_line":"   :command:`chmod`, and :command:`rm`, resemble traditional bash commands."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Example guestfish session"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ba8a016a_d8a213fd","line":28,"updated":"2015-11-18 15:25:12.000000000","message":"\"Many :command:`guestfish` commands...\"\nAnd I don\u0027t think :command:`touch` should be wrapped in \u0027\u0027. It comes out including the :command: syntax in the doc.","commit_id":"44e03aaf584cc5b2a50e47bb2c46bdaceda60c2c"},{"author":{"_account_id":10497,"name":"KATO Tomoyuki","email":"kato.tomoyuki@jp.fujitsu.com","username":"to222"},"change_message_id":"7a9f784578d2598c66c6c900905e2b8e3bbc6117","unresolved":false,"context_lines":[{"line_number":25,"context_line":"   :program:`guestfish` does not mount the image directly into the"},{"line_number":26,"context_line":"   local file system. Instead, it provides you with a shell"},{"line_number":27,"context_line":"   interface that enables you to view, edit, and delete files."},{"line_number":28,"context_line":"   Many of :command:`guestfish` commands, such as `:command:`touch``,"},{"line_number":29,"context_line":"   :command:`chmod`, and :command:`rm`, resemble traditional bash commands."},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"Example guestfish session"}],"source_content_type":"text/x-rst","patch_set":4,"id":"ba8a016a_1162a23e","line":28,"in_reply_to":"ba8a016a_d8a213fd","updated":"2015-11-18 22:18:44.000000000","message":"Done","commit_id":"44e03aaf584cc5b2a50e47bb2c46bdaceda60c2c"},{"author":{"_account_id":6635,"name":"John Davidge","email":"john.davidge@rackspace.com","username":"john-davidge"},"change_message_id":"a6fe8bb6e70087919b1332084f763d7446897907","unresolved":false,"context_lines":[{"line_number":31,"context_line":"Example guestfish session"},{"line_number":32,"context_line":"-------------------------"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"Sometimes, you must modify a virtual machine image to remove"},{"line_number":35,"context_line":"any traces of the MAC address that was assigned to the virtual"},{"line_number":36,"context_line":"network interface card when the image was first created, because"},{"line_number":37,"context_line":"the MAC address will be different when it boots the next time."}],"source_content_type":"text/x-rst","patch_set":4,"id":"ba8a016a_780d27e7","line":34,"updated":"2015-11-18 15:25:12.000000000","message":"Sometimes you...","commit_id":"44e03aaf584cc5b2a50e47bb2c46bdaceda60c2c"},{"author":{"_account_id":10497,"name":"KATO Tomoyuki","email":"kato.tomoyuki@jp.fujitsu.com","username":"to222"},"change_message_id":"7a9f784578d2598c66c6c900905e2b8e3bbc6117","unresolved":false,"context_lines":[{"line_number":31,"context_line":"Example guestfish session"},{"line_number":32,"context_line":"-------------------------"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"Sometimes, you must modify a virtual machine image to remove"},{"line_number":35,"context_line":"any traces of the MAC address that was assigned to the virtual"},{"line_number":36,"context_line":"network interface card when the image was first created, because"},{"line_number":37,"context_line":"the MAC address will be different when it boots the next time."}],"source_content_type":"text/x-rst","patch_set":4,"id":"ba8a016a_71e0ce96","line":34,"in_reply_to":"ba8a016a_780d27e7","updated":"2015-11-18 22:18:44.000000000","message":"Done","commit_id":"44e03aaf584cc5b2a50e47bb2c46bdaceda60c2c"},{"author":{"_account_id":6635,"name":"John Davidge","email":"john.davidge@rackspace.com","username":"john-davidge"},"change_message_id":"a6fe8bb6e70087919b1332084f763d7446897907","unresolved":false,"context_lines":[{"line_number":61,"context_line":""},{"line_number":62,"context_line":".. note::"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"   the guestfish prompt looks like a fish: ``\u003e \u003cfs\u003e``."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"We must first use the ``run`` command at the guestfish"},{"line_number":67,"context_line":"prompt before we can do anything else."}],"source_content_type":"text/x-rst","patch_set":4,"id":"ba8a016a_58e70311","line":64,"updated":"2015-11-18 15:25:12.000000000","message":"``\u003e\u003cfs\u003e``","commit_id":"44e03aaf584cc5b2a50e47bb2c46bdaceda60c2c"},{"author":{"_account_id":10497,"name":"KATO Tomoyuki","email":"kato.tomoyuki@jp.fujitsu.com","username":"to222"},"change_message_id":"7a9f784578d2598c66c6c900905e2b8e3bbc6117","unresolved":false,"context_lines":[{"line_number":61,"context_line":""},{"line_number":62,"context_line":".. note::"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"   the guestfish prompt looks like a fish: ``\u003e \u003cfs\u003e``."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"We must first use the ``run`` command at the guestfish"},{"line_number":67,"context_line":"prompt before we can do anything else."}],"source_content_type":"text/x-rst","patch_set":4,"id":"ba8a016a_b101563a","line":64,"in_reply_to":"ba8a016a_58e70311","updated":"2015-11-18 22:18:44.000000000","message":"Done","commit_id":"44e03aaf584cc5b2a50e47bb2c46bdaceda60c2c"},{"author":{"_account_id":10897,"name":"Joseph Robinson","email":"josephremail@gmail.com","username":"RobiJoe"},"change_message_id":"185ccfb3b4ec43c472bc50c55d0c6749d85082f7","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":"Sometimes you must modify a virtual machine image to remove"},{"line_number":35,"context_line":"any traces of the MAC address that was assigned to the virtual"},{"line_number":36,"context_line":"network interface card when the image was first created, because"},{"line_number":37,"context_line":"the MAC address will be different when it boots the next time."},{"line_number":38,"context_line":"This example shows how to use guestfish to remove"},{"line_number":39,"context_line":"references to the old MAC address by deleting the"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba8a016a_572a5791","line":36,"updated":"2015-11-19 00:59:23.000000000","message":"Optional: Reduce the sentence length here by switching out the comma for a full stop. Adjust to present tense:\n\"..when the image was first created. This is because the MAC address is different when the virtual machine images boots.\"","commit_id":"324d4701448c116e6cc28fce157bb01b0d9fec7c"},{"author":{"_account_id":10497,"name":"KATO Tomoyuki","email":"kato.tomoyuki@jp.fujitsu.com","username":"to222"},"change_message_id":"ed0a55a61e1f25ad742631cbe64195a52aa5b3eb","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":"Sometimes you must modify a virtual machine image to remove"},{"line_number":35,"context_line":"any traces of the MAC address that was assigned to the virtual"},{"line_number":36,"context_line":"network interface card when the image was first created, because"},{"line_number":37,"context_line":"the MAC address will be different when it boots the next time."},{"line_number":38,"context_line":"This example shows how to use guestfish to remove"},{"line_number":39,"context_line":"references to the old MAC address by deleting the"}],"source_content_type":"text/x-rst","patch_set":5,"id":"ba8a016a_528ee5d0","line":36,"in_reply_to":"ba8a016a_572a5791","updated":"2015-11-19 01:29:24.000000000","message":"Done","commit_id":"324d4701448c116e6cc28fce157bb01b0d9fec7c"},{"author":{"_account_id":14396,"name":"Alexander Adamov","email":"aadamov@mirantis.com","username":"Alexander"},"change_message_id":"fa23378d0d557d89e8fa219df0788ac33192cb43","unresolved":false,"context_lines":[{"line_number":64,"context_line":""},{"line_number":65,"context_line":"   the guestfish prompt looks like a fish: ``\u003e\u003cfs\u003e``."},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"We must first use the ``run`` command at the guestfish"},{"line_number":68,"context_line":"prompt before we can do anything else."},{"line_number":69,"context_line":"This will launch a virtual machine, which will"},{"line_number":70,"context_line":"be used to perform all of the file manipulations."}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_f5ced92b","line":67,"updated":"2015-11-19 08:41:46.000000000","message":":command:`run`","commit_id":"0e3bfa4e26dc5c8167341d1e4f3d0b32574a83ff"},{"author":{"_account_id":14396,"name":"Alexander Adamov","email":"aadamov@mirantis.com","username":"Alexander"},"change_message_id":"fa23378d0d557d89e8fa219df0788ac33192cb43","unresolved":false,"context_lines":[{"line_number":74,"context_line":"   \u003e\u003cfs\u003e run"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"#. We can now view the file systems in the image using the"},{"line_number":77,"context_line":"   ``list-filesystems`` command:"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"   .. code-block:: console"},{"line_number":80,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_d5539569","line":77,"updated":"2015-11-19 08:41:46.000000000","message":":command:`list-filesystems`","commit_id":"0e3bfa4e26dc5c8167341d1e4f3d0b32574a83ff"},{"author":{"_account_id":14396,"name":"Alexander Adamov","email":"aadamov@mirantis.com","username":"Alexander"},"change_message_id":"fa23378d0d557d89e8fa219df0788ac33192cb43","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"      \u003e\u003cfs\u003e mount /dev/vg_centosbase/lv_root /"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"#. Next, we want to delete a file. We can use the ``rm`` guestfish"},{"line_number":93,"context_line":"   command, which works the same way it does in a traditional shell."},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"   .. code-block:: console"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_b5d05120","line":92,"updated":"2015-11-19 08:41:46.000000000","message":":command:`rm`","commit_id":"0e3bfa4e26dc5c8167341d1e4f3d0b32574a83ff"},{"author":{"_account_id":14396,"name":"Alexander Adamov","email":"aadamov@mirantis.com","username":"Alexander"},"change_message_id":"fa23378d0d557d89e8fa219df0788ac33192cb43","unresolved":false,"context_lines":[{"line_number":97,"context_line":"      \u003e\u003cfs\u003e rm /etc/udev/rules.d/70-persistent-net.rules"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"#. We want to edit the ``ifcfg-eth0`` file to remove the ``HWADDR`` line."},{"line_number":100,"context_line":"   The ``edit`` command will copy the file to the host,"},{"line_number":101,"context_line":"   invoke your editor, and then copy the file back."},{"line_number":102,"context_line":""},{"line_number":103,"context_line":"   .. code-block:: console"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_d56cf536","line":100,"updated":"2015-11-19 08:41:46.000000000","message":":command:`edit`","commit_id":"0e3bfa4e26dc5c8167341d1e4f3d0b32574a83ff"},{"author":{"_account_id":14396,"name":"Alexander Adamov","email":"aadamov@mirantis.com","username":"Alexander"},"change_message_id":"fa23378d0d557d89e8fa219df0788ac33192cb43","unresolved":false,"context_lines":[{"line_number":107,"context_line":"#. If you want to modify this image to load the 8021q kernel"},{"line_number":108,"context_line":"   at boot time, you must create an executable script in the"},{"line_number":109,"context_line":"   ``/etc/sysconfig/modules/`` directory."},{"line_number":110,"context_line":"   You can use the ``touch`` guestfish command to create"},{"line_number":111,"context_line":"   an empty file, the ``edit`` command to edit it,"},{"line_number":112,"context_line":"   and the ``chmod`` command to make it executable."},{"line_number":113,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_b57e1117","line":110,"updated":"2015-11-19 08:41:46.000000000","message":":command:`touch`","commit_id":"0e3bfa4e26dc5c8167341d1e4f3d0b32574a83ff"},{"author":{"_account_id":14396,"name":"Alexander Adamov","email":"aadamov@mirantis.com","username":"Alexander"},"change_message_id":"fa23378d0d557d89e8fa219df0788ac33192cb43","unresolved":false,"context_lines":[{"line_number":108,"context_line":"   at boot time, you must create an executable script in the"},{"line_number":109,"context_line":"   ``/etc/sysconfig/modules/`` directory."},{"line_number":110,"context_line":"   You can use the ``touch`` guestfish command to create"},{"line_number":111,"context_line":"   an empty file, the ``edit`` command to edit it,"},{"line_number":112,"context_line":"   and the ``chmod`` command to make it executable."},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"   .. code-block:: console"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_d57b9526","line":111,"updated":"2015-11-19 08:41:46.000000000","message":":command:`edit`","commit_id":"0e3bfa4e26dc5c8167341d1e4f3d0b32574a83ff"},{"author":{"_account_id":14396,"name":"Alexander Adamov","email":"aadamov@mirantis.com","username":"Alexander"},"change_message_id":"fa23378d0d557d89e8fa219df0788ac33192cb43","unresolved":false,"context_lines":[{"line_number":109,"context_line":"   ``/etc/sysconfig/modules/`` directory."},{"line_number":110,"context_line":"   You can use the ``touch`` guestfish command to create"},{"line_number":111,"context_line":"   an empty file, the ``edit`` command to edit it,"},{"line_number":112,"context_line":"   and the ``chmod`` command to make it executable."},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"   .. code-block:: console"},{"line_number":115,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_75742935","line":112,"updated":"2015-11-19 08:41:46.000000000","message":":command:`chmod`","commit_id":"0e3bfa4e26dc5c8167341d1e4f3d0b32574a83ff"},{"author":{"_account_id":14396,"name":"Alexander Adamov","email":"aadamov@mirantis.com","username":"Alexander"},"change_message_id":"fa23378d0d557d89e8fa219df0788ac33192cb43","unresolved":false,"context_lines":[{"line_number":128,"context_line":""},{"line_number":129,"context_line":"      \u003e\u003cfs\u003e chmod 0755 /etc/sysconfig/modules/8021q.modules"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"#. We are done, so we can exit using the ``exit`` command:"},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"   .. code-block:: console"},{"line_number":134,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_3591c147","line":131,"updated":"2015-11-19 08:41:46.000000000","message":":command:`exit`","commit_id":"0e3bfa4e26dc5c8167341d1e4f3d0b32574a83ff"},{"author":{"_account_id":14396,"name":"Alexander Adamov","email":"aadamov@mirantis.com","username":"Alexander"},"change_message_id":"fa23378d0d557d89e8fa219df0788ac33192cb43","unresolved":false,"context_lines":[{"line_number":234,"context_line":"      /dev/sda   device     -    16G   -"},{"line_number":235,"context_line":""},{"line_number":236,"context_line":"#. In this case, it is the ``/dev/sda2`` partition that we want to resize."},{"line_number":237,"context_line":"   We create a new qcow2 image and use the ``virt-resize`` command to"},{"line_number":238,"context_line":"   write a resized copy of the original into the new image:"},{"line_number":239,"context_line":""},{"line_number":240,"context_line":"   .. code-block:: console"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_15383d3c","line":237,"updated":"2015-11-19 08:41:46.000000000","message":":command:`virt-resize`","commit_id":"0e3bfa4e26dc5c8167341d1e4f3d0b32574a83ff"},{"author":{"_account_id":14396,"name":"Alexander Adamov","email":"aadamov@mirantis.com","username":"Alexander"},"change_message_id":"fa23378d0d557d89e8fa219df0788ac33192cb43","unresolved":false,"context_lines":[{"line_number":285,"context_line":"-------------------------------"},{"line_number":286,"context_line":""},{"line_number":287,"context_line":"If you have a raw virtual machine image that is not using"},{"line_number":288,"context_line":"LVM to manage its partitions, use the ``losetup`` command"},{"line_number":289,"context_line":"to find an unused loop device."},{"line_number":290,"context_line":""},{"line_number":291,"context_line":".. code-block:: console"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_95ed0db9","line":288,"updated":"2015-11-19 08:41:46.000000000","message":":command:`losetup`","commit_id":"0e3bfa4e26dc5c8167341d1e4f3d0b32574a83ff"},{"author":{"_account_id":14396,"name":"Alexander Adamov","email":"aadamov@mirantis.com","username":"Alexander"},"change_message_id":"fa23378d0d557d89e8fa219df0788ac33192cb43","unresolved":false,"context_lines":[{"line_number":354,"context_line":"   # losetup /dev/loop0 rhel62.img"},{"line_number":355,"context_line":"   # kpartx -av /dev/loop0"},{"line_number":356,"context_line":""},{"line_number":357,"context_line":"Next, you need to use the ``vgscan`` command to identify the LVM"},{"line_number":358,"context_line":"volume groups and then ``vgchange`` to expose the volumes as devices:"},{"line_number":359,"context_line":""},{"line_number":360,"context_line":".. code-block:: console"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_159cbd5b","line":357,"updated":"2015-11-19 08:41:46.000000000","message":":command:`vgscan`","commit_id":"0e3bfa4e26dc5c8167341d1e4f3d0b32574a83ff"},{"author":{"_account_id":14396,"name":"Alexander Adamov","email":"aadamov@mirantis.com","username":"Alexander"},"change_message_id":"fa23378d0d557d89e8fa219df0788ac33192cb43","unresolved":false,"context_lines":[{"line_number":355,"context_line":"   # kpartx -av /dev/loop0"},{"line_number":356,"context_line":""},{"line_number":357,"context_line":"Next, you need to use the ``vgscan`` command to identify the LVM"},{"line_number":358,"context_line":"volume groups and then ``vgchange`` to expose the volumes as devices:"},{"line_number":359,"context_line":""},{"line_number":360,"context_line":".. code-block:: console"},{"line_number":361,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_d5a2b598","line":358,"updated":"2015-11-19 08:41:46.000000000","message":":command:`vgchange`","commit_id":"0e3bfa4e26dc5c8167341d1e4f3d0b32574a83ff"},{"author":{"_account_id":14396,"name":"Alexander Adamov","email":"aadamov@mirantis.com","username":"Alexander"},"change_message_id":"fa23378d0d557d89e8fa219df0788ac33192cb43","unresolved":false,"context_lines":[{"line_number":388,"context_line":""},{"line_number":389,"context_line":"Assuming the first block device (``/dev/nbd0``) is not currently"},{"line_number":390,"context_line":"in use, we can expose the disk partitions using the"},{"line_number":391,"context_line":"``qemu-nbd`` and ``partprobe`` commands. As root:"},{"line_number":392,"context_line":""},{"line_number":393,"context_line":".. code-block:: console"},{"line_number":394,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_15b35dea","line":391,"updated":"2015-11-19 08:41:46.000000000","message":":command:`qemu-nbd` and :command:`partprobe`","commit_id":"0e3bfa4e26dc5c8167341d1e4f3d0b32574a83ff"},{"author":{"_account_id":14396,"name":"Alexander Adamov","email":"aadamov@mirantis.com","username":"Alexander"},"change_message_id":"fa23378d0d557d89e8fa219df0788ac33192cb43","unresolved":false,"context_lines":[{"line_number":409,"context_line":".. note::"},{"line_number":410,"context_line":""},{"line_number":411,"context_line":"   If the network block device you selected was already in use,"},{"line_number":412,"context_line":"   the initial ``qemu-nbd`` command will fail silently, and the"},{"line_number":413,"context_line":"   ``/dev/nbd3p{1,2,3}`` device files will not be created."},{"line_number":414,"context_line":""},{"line_number":415,"context_line":"If the image partitions are not managed with LVM,"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_d5c9555a","line":412,"updated":"2015-11-19 08:41:46.000000000","message":":command:`qemu-nbd`","commit_id":"0e3bfa4e26dc5c8167341d1e4f3d0b32574a83ff"},{"author":{"_account_id":14396,"name":"Alexander Adamov","email":"aadamov@mirantis.com","username":"Alexander"},"change_message_id":"fa23378d0d557d89e8fa219df0788ac33192cb43","unresolved":false,"context_lines":[{"line_number":430,"context_line":"Mount a qcow2 image (with LVM)"},{"line_number":431,"context_line":"------------------------------"},{"line_number":432,"context_line":""},{"line_number":433,"context_line":"If the image partitions are managed with LVM, after you use ``qemu-nbd``"},{"line_number":434,"context_line":"and ``partprobe``, you must use ``vgscan`` and ``vgchange -ay``"},{"line_number":435,"context_line":"in order to expose the LVM partitions as devices that can be mounted:"},{"line_number":436,"context_line":""}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_d5d075f8","line":433,"updated":"2015-11-19 08:41:46.000000000","message":":command:`qemu-nbd` and :command:`partprobe`","commit_id":"0e3bfa4e26dc5c8167341d1e4f3d0b32574a83ff"},{"author":{"_account_id":14396,"name":"Alexander Adamov","email":"aadamov@mirantis.com","username":"Alexander"},"change_message_id":"fa23378d0d557d89e8fa219df0788ac33192cb43","unresolved":false,"context_lines":[{"line_number":431,"context_line":"------------------------------"},{"line_number":432,"context_line":""},{"line_number":433,"context_line":"If the image partitions are managed with LVM, after you use ``qemu-nbd``"},{"line_number":434,"context_line":"and ``partprobe``, you must use ``vgscan`` and ``vgchange -ay``"},{"line_number":435,"context_line":"in order to expose the LVM partitions as devices that can be mounted:"},{"line_number":436,"context_line":""},{"line_number":437,"context_line":".. code-block:: console"}],"source_content_type":"text/x-rst","patch_set":6,"id":"ba8a016a_d5f71589","line":434,"updated":"2015-11-19 08:41:46.000000000","message":":command:`vgscan` and :command:`vgchange -ay`","commit_id":"0e3bfa4e26dc5c8167341d1e4f3d0b32574a83ff"}]}
