khuedoan-homelab/metal
2021-03-02 23:48:12 +07:00
..
group_vars Fix pxe server 2021-02-28 23:56:11 +07:00
roles Install snap on CentOS instead 2021-03-02 23:48:12 +07:00
ansible.cfg Disable host key checking 2021-03-01 00:44:11 +07:00
hosts.ini Force LXD fan network underlay subnet instead of auto 2021-02-21 21:01:35 +07:00
Makefile Fix pxe server 2021-02-28 23:56:11 +07:00
playbook.yml Revert "Remove role to install snap" 2021-03-01 01:16:24 +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