To run boot2dcos, simply clone this repository and follow these steps:
-
customize your config.yaml file using the DC/OS Configuration reference
-
Get CoreOS images (coreos_production_pxe.vmlinuz, coreos_production_pxe_image.cpio.gz)
-
Create a .env file or set the following environment variables:
BOOT2DCOS_HOST: The ip of your docker host BOOT2DCOS_HOME: Path to boot2dcos (your local clone of this repo) BOOT2DCOS_BAREMETAL_IMAGES: When using baremetal module, this is the full path to the CoreOS images BOOT2DCOS_GATEWAY: An optional gateway IP Address when not using the proxy module
-
Launch the compose script
docker-compose -f <module1.yml> -f <module2.yml> -f .....
The module list:
-
core.yml: The core module and base components
-
baremetal.yml : The baremetal module to boot physical machines using iPXE
-
proxy.yml : A simple squid proxy
In most cases you will just have to launch boot2dcos with :
docker-compose -f core.yml -f baremetal.yml -f proxy.yml up
boot2dcos was written by Jauffrey Flach and Benjamin Vouillaume.
Copyright © 2017 The boot2dcos Project.
For the full text of the license, see the LICENSE file.