Minishift CentOS VM
This repository contains all the instructions and code to build a Live ISO based on CentOS which can be used by minishift as an alternative to the boot2docker ISO.
- Building the CentOS ISO
- Building the RHEL ISO
- Releasing Minishift ISO
- Further reading
Building the CentOS ISO
If you don't have livecd-tools, follow the hosts without livecd-tools instructions.
$ yum install -y livecd-tools
Building the ISO
$ git clone https://github.com/minishift/minishift-centos-iso.git $ cd minishift-centos-iso $ make
On hosts without livecd-tools (OS X, Windows, ...)
Building the ISO
$ git clone https://github.com/minishift/minishift-centos-iso.git $ cd minishift-centos-iso $ vagrant up $ vagrant ssh $ cd <path to minishift-centos-iso directory on the VM>/minishift-centos-iso $ make
Building the RHEL ISO
The Makefile also allows you to build a equivalent ISO based on RHEL instead of CentOS. However, it requires you to have Red Hat VPN access and you need to export several environment variables prior to building:
$ git clone https://github.com/minishift/minishift-centos-iso.git $ cd minishift-centos-iso $ export rhel_tree_url="<rhel_tree_to_fetch_kernel>" $ export base_repo_url="<base_repo_url_to_install_packages>" $ export updates_repo_url="<updates_repo_url_to_package_updates>" $ export cdk_repo_url="<repo_url_to_cdk-entitlement_package>" $ make rhel_iso
Releasing Minishift ISO
- Assemble all the meaningful changes since the last release to create release notes.
- Bump the
VERSIONvariable in the Makefile.
- Before you execute below command be sure to have a Github personal access token defined in your environment as
Once you are able to build the ISO, you are most likely interested to modify the image itself. To do so you have to get familiar with pykickstart.