kiwi-el8/doc/source/building/build_vmx_disk.rst
Marcus Schäfer 2046220c07 Refactor documentation layout and structure
The current design of the documentation does not allow for
continous improvement and development. It's missing a basic
structure and concept for documenting step-by-step workflows
and generic explanations.
2017-05-10 16:32:23 +02:00

28 lines
803 B
ReStructuredText

Build a Virtual Disk Image
==========================
.. hint::
Make sure you have checked out the example image descriptions
For details see :ref:`example-descriptions`
The following example shows how to build and run a simple system
disk image based on SUSE Leap
.. code:: bash
$ sudo kiwi-ng --type vmx system build \
--description kiwi-descriptions/suse/x86_64/suse-leap-42.1-JeOS \
--target-dir /tmp/myimage
Find the image with the suffix :file:`.raw` below :file:`/tmp/myimage`.
For testing the disk image a virtual machine with the disk image attached
can be used. The following example shows how to use the Qemu system to
run the image:
.. code:: bash
$ qemu \
-drive file=LimeJeOS-Leap-42.1.x86_64-1.42.1.raw,format=raw,if=virtio \
-m 4096