Scroll to navigation

LIVEMEDIA-CREATOR(1) General Commands Manual LIVEMEDIA-CREATOR(1)

NAME

livemedia-creator - Create live install media

SYNOPSIS

livemedia-creator [-h]
(--make-iso | --make-disk | --make-fsimage | --make-appliance | --make-ami | --make-tar | --make-pxe-live | --make-ostree-live)
[--iso ISO] [--disk-image DISK_IMAGE]
[--fs-image FS_IMAGE] [--ks KS]
[--image-name IMAGE_NAME] [--image-only]
[--fs-label FS_LABEL]
[--compression] [--compress-arg]
[--live-rootfs-size LIVE_ROOTFS_SIZE]
[--live-rootfs-keep-size LIVE_ROOTFS_KEEP_SIZE]
[--keep-image] [--no-virt] [--proxy PROXY]
[--anaconda-arg ANACONDA_ARGS]
[--armplatform ARMPLATFORM] [--location LOCATION]
[--logfile LOGFILE]
[--lorax-templates LORAX_TEMPLATES] [--tmp TMP]
[--resultdir RESULT_DIR] [--app-name APP_NAME]
[--app-template APP_TEMPLATE] [--app-file APP_FILE]
[--ram MEMORY] [--vcpus VCPUS] [--vnc VNC]
[--arch ARCH] [--kernel-args KERNEL_ARGS]
[--dracut-arg DRACUT_ARGS] [--title TITLE]
[--project PROJECT] [--releasever RELEASEVER]
[--volid VOLID] [--squashfs_args SQUASHFS_ARGS]
[--virt-uefi] [--ovmf-path OVMF_PATH]

DESCRIPTION

livemedia-creator uses Anaconda, kickstart and Lorax to create bootable media that use the same install path as a normal system install. It can be used to make live isos, bootable (partitioned) disk images and filesystem images for use with virtualization.

The general idea is to use virt-install to install into a disk image and then use the disk image to create the bootable media.

livemedia-creator --help will describe all of the options available. At the minimum you need:

--make-iso to create a final bootable .iso --iso to specify the Anaconda install media to use with virt-install --ks is the kickstart to use to install the system

OPTIONAL ARGUMENTS:

show this help message and exit

Build a live iso

Build a partitioned disk image

Build a filesystem image

Build an appliance image and XML description

Build an ami image

Build a tar of the root filesystem. Defaults to root.tar.xz

Build a live pxe boot squashfs image

Build a live pxe boot squashfs image of Atomic Host

Anaconda installation .iso path to use for virt-install

Path to disk image to use for creating final image

Path to existing filesystem image to use for creating final image.

Create qcow2 image instead of raw sparse image when making disk images.

Arguments to pass to qemu-img. Pass once for each argument >>>>>>> d04a99e... livemedia-creator: Add support for making tarfiles

Compression binary for make-tar. xz, lzma, gzip, and bzip2 are supported. xz is the default.

Arguments to pass to compression. Pass once for each argument

Kickstart file defining the install.

Name of fs/disk image to create. Default is a random name.

Exit after creating fs/disk image.

Keep raw disk image after .iso creation

Use Anaconda's image install instead of virt-install

proxy URL to use for the install

Additional argument to pass to anaconda (no-virt mode). Pass once for eachargument

the platform to use when creating images for ARM, i.e., highbank, mvebu, omap,tegra, etc.

location of iso directory tree with initrd.img and vmlinuz. Used to run virt-install with a newer initrd than the iso.

Path to logfile

Path to mako templates for lorax

Top level temporary directory

Directory to copy the resulting images and iso into. Defaults to the temporaryworking directory

Substituted for @TITLE@ in bootloader config files

substituted for @PROJECT@ in bootloader config files

substituted for @VERSION@ in bootloader config files

volume id

additional squashfs args

APPLIANCE ARGUMENTS:

Name of appliance to pass to template

Path to template to use for appliance data.

Appliance template results file.

PXE-LIVE ARGUMENTS:

Size of root filesystem of live image in GiB. By default approximate size of space used in root filesystem is used.

Keep the size of original root filesystem (rounded down to GiB) in live image

VIRT-INSTALL ARGUMENTS:

Memory to allocate for installer in megabytes.

Passed to --vcpus command

Passed to --graphics command

Passed to --arch command

Additional argument to pass to the installation kernel

Boot the virtual machine in UEFI mode. Requires OVMF_CODE.fd and OVMF_VARS.fd

Path to OVMF_CODE.fd and OVMF_VARS.fd. Defaults to /usr/share/OVMF/, the UEFI firmware files need to be installed manually, they are not shipped with RHEL.

DRACUT ARGUMENTS:

Argument to pass to dracut when rebuilding the initramfs. Pass this once for each argument, single quoting the arguments like this: '--xz' NOTE: this overrides the default, so all dracut arguments must be included.

SEE ALSO

Documentation in /usr/share/docs/lorax/README.livemedia-creator

AUTHOR

Brian C. Lane

2018-08-14