khuedoan-homelab/metal
2021-02-13 13:28:07 +07:00
..
group_vars Fix pxe docker compose 2021-02-12 20:39:22 +07:00
roles Always start etcd tfstate container 2021-02-13 13:28:07 +07:00
ansible.cfg Fix ugly ansible error output 2021-02-12 20:20:39 +07:00
hosts.ini Create etcd container for terraform state 2021-02-12 21:09:21 +07:00
Makefile
playbook.yml Create etcd container for terraform state 2021-02-12 21:09:21 +07:00
README.md Add layer 0 bare metal docs 2021-02-12 16:12:21 +07:00
requirements.txt
reset.py Clean up 2021-02-08 08:52:53 +07:00

Layer 0

Bare metal provisioning

  • Render PXE boot configs
  • Start Docker based PXE server
  • Turn off all nodes
  • Wake them up using magic packet
  • Install OS using PXE and kickstart
  • Wait for the OS installation to finish and reboot to the new OS
  • Start basic provisioning
    • Install Docker
    • Create simple etcd container for Terraform state
  • Generate Terraform backend config