build — Build Image from System Description
machinery build NAME -i IMAGE-DIR | --image-dir=IMAGE-DIR
machinery help build
build command builds an image from a system description. The image is a
system image in the qcow2 format, which can be used with the KVM hypervisor.
It can be run locally or deployed to a cloud environment.
machinery uses the image building command line tool
KIWI to perform the actual build. KIWI
data is stored to a temporary directory and cleaned up after the build. The KIWI
log is shown as output of the
build command format for showing progress and
When building an image, Machinery filters out some files which would break the built image. The list of filters is shown at the beginning of the build.
NAME(required): Use specified system description.
--image-dir=IMAGE-DIR(required): Save image file under specified path.
--enable-dhcp(optional): Enable DHCP client on first network card of built image
--enable-ssh(optional): Enable SSH service in built image
buildcommand requires the packages
The necessary vmxboot template for the machinery being built must be installed (i.e. if you want to build an openSUSE Leap machine then the template
All repositories in the system description must be accessible from the build machine on which
machinery buildis called.
Machinery can only build x86_64 images on x86_64 systems at the moment.
To build an image from the system description named "tux" and to save the image under the
machinerybuild tux -i /tmp/tux/