CentOS based ISO as an alternative for boot2docker ISO
Shell Makefile
Pull request Compare This branch is 8 commits behind minishift:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
scripts
.gitignore
LICENSE.md
Makefile
README.md
Vagrantfile
centos-7.template
rhel-7.template

README.md

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

The following contains instructions on how to build the default (CentOS based) ISO. If you are able to install livecd-tools directly on your machine, you can use the CentOS/Fedora instructions.

If you don't have livecd-tools, follow the hosts without livecd-tools instructions.

On CentOS/Fedora

Prerequisites

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, ...)

Prerequisites

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 VERSION variable in the Makefile.
  • Before you execute below command be sure to have a Github personal access token defined in your environment as GITHUB_ACCESS_TOKEN.

Run:

make release

Further reading

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.