kinvolk / racker

rack provisioning utility for Kinvolk projects
Apache License 2.0
14 stars 3 forks source link

bootstrap: Script to prepare a lokocfg #1

Closed pothos closed 3 years ago

pothos commented 3 years ago

The prepare.sh script generates a lokocfg file and runs lokoctl to create the cluster. By default it uses the QEMU mode where it creates two bridges (one external and one internal) and QEMU VMs that PXE-boot. For real hardware it requires an interface to be specified where the internal L2 network is, and the MAC addresses of the servers and the BMCs in this internal L2 network.

It uses a lokoctl binary from: https://github.com/kinvolk/lokomotive/pull/1333

pothos commented 3 years ago

Updated it now:

pothos commented 3 years ago

Made one more change:

pothos commented 3 years ago

If run with USE_QEMU=0 and the right config files it can create a cluster on the hardware, too.