b00258cfc1
Testing shows this works $ ./bin/disk-image-create -x vm fedora-minimal [wait] $ ls -lh image.qcow2 -rw-r--r--. 1 545M Sep 24 14:11 image.qcow2 Change-Id: Ifab2afa439e62e9ee2909460ac6bb4b07bc41662 |
||
---|---|---|
.. | ||
environment.d | ||
install.d | ||
yum.repos.d | ||
element-deps | ||
element-provides | ||
README.rst |
fedora-minimal
Create a minimal image based on Fedora.
Use of this element will require 'yum' and 'yum-utils' to be installed on Ubuntu and Debian. Nothing additional is needed on Fedora or CentOS. The element will need python-lzma everywhere.
Due to a bug in the released version of urlgrabber, on many systems an installation of urlgrabber from git is required. The git repository can be found here: http://yum.baseurl.org/gitweb?p=urlgrabber.git;a=summary
The DIB_OFFLINE or more specific DIB_YUMCHROOT_USE_CACHE variables can be set to prefer the use of a pre-cached root filesystem tarball.
This element sets the DIB_RELEASE var to 'fedora'. The release of fedora to be installed can be controlled through the DIB_RELEASE variable, which defaults to '21'.