docs: Update documentation for livemedia-creator

This commit is contained in:
Brian C. Lane 2015-12-18 15:51:06 -08:00
parent be685b51ac
commit f04fa1ea34
2 changed files with 8 additions and 8 deletions

View File

@ -9,7 +9,7 @@ livemedia-creator [-h]
[--fs-image FS_IMAGE] [--ks KS] [--fs-image FS_IMAGE] [--ks KS]
[--image-name IMAGE_NAME] [--image-only] [--image-name IMAGE_NAME] [--image-only]
[--fs-label FS_LABEL] [--fs-label FS_LABEL]
[--qcow2] [--qcow2-arg QCOW2_ARGS] [--image-type IMAGE_TYPE] [--qemu-arg QEMU_ARGS]
[--compression] [--compress-arg] [--compression] [--compress-arg]
[--live-rootfs-size LIVE_ROOTFS_SIZE] [--live-rootfs-size LIVE_ROOTFS_SIZE]
[--live-rootfs-keep-size LIVE_ROOTFS_KEEP_SIZE] [--live-rootfs-keep-size LIVE_ROOTFS_KEEP_SIZE]
@ -94,11 +94,11 @@ Path to disk image to use for creating final image
Path to existing filesystem image to use for creating final image. Path to existing filesystem image to use for creating final image.
.TP .TP
\fB\-\-qcow2\fR \fB\-\-image-type IMAGE_TYPE\fR
Create qcow2 image instead of raw sparse image when making disk images. Create a qemu-img image instead of raw sparse image when making disk images. See qemu-img --help for a list of supported types.
.TP .TP
\fB\-\-qcow2\-arg\fR \fB\-\-qemu\-arg\fR
Arguments to pass to qemu-img. Pass once for each argument Arguments to pass to qemu-img. Pass once for each argument
.TP .TP

View File

@ -287,10 +287,10 @@ The created image can be imported into libvirt using:
``virt-image appliance.xml`` ``virt-image appliance.xml``
You can also create qcow2 appliance images using ``--qcow2``, for example:: You can also create qcow2 appliance images using ``--image-type=qcow2``, for example::
sudo livemedia-creator --make-appliance --iso=/path/to/boot.iso --ks=./docs/fedora-minimal.ks \ sudo livemedia-creator --make-appliance --iso=/path/to/boot.iso --ks=./docs/fedora-minimal.ks \
--qcow2 --app-file=minimal-test.xml --image-name=minimal-test.img --image-type=qcow2 --app-file=minimal-test.xml --image-name=minimal-test.img
Filesystem Image Creation Filesystem Image Creation
@ -414,10 +414,10 @@ cloud-utils-growpart will grow the image to fit the instance's disk size.
Create a qcow2 image using the kickstart like this: Create a qcow2 image using the kickstart like this:
``sudo livemedia-creator --make-disk --iso=/path/to/boot.iso --ks=/path/to/fedora-openstack.ks --qcow2`` ``sudo livemedia-creator --make-disk --iso=/path/to/boot.iso --ks=/path/to/fedora-openstack.ks --image-type=qcow2``
.. note:: .. note::
On the RHEL7 version of lmc ``--qcow2`` isn't supported. You can only create a bare partitioned disk image. On the RHEL7 version of lmc ``--image-type`` isn't supported. You can only create a bare partitioned disk image.
Import the resulting disk image into the OpenStack system, either via the web UI, or glance on the cmdline:: Import the resulting disk image into the OpenStack system, either via the web UI, or glance on the cmdline::