Skip to content

2fd5/talos-pxe

 
 

Repository files navigation

talos-pxe

Talos PXE is a project aimed at boostrapping an initial Talos cluster from a single bootable USB stick. This stick plugs into an avaiable computer and will provide a selection menu for any PXE bootable machine connected to the same network. The software is able to adapt to an existing DHCP server via proxyDHCP or provide a DHCP server of its own.

iPXE Talos menu screenshot

Requirements

  • Docker
  • Golang version 1.16.7
  • LinuxKit

Building

You need to download the Talos kernel and initramfs before proceeding. These should be placed in assets:

assets/initramfs-amd64.xz
assets/vmlinuz-amd64

Generate the configuration via:

talosctl gen config -o assets talos-k8s-metal-tutorial https://controlplane.local:8443
sed 's/type: controlplane/type: init/' assets/controlplane.yaml > assets/init.yaml

First step is building the pxe network container via:

docker build -t pxe .

then that container can be converted into a bootable VM via LinuxKit:

linuxkit build -docker -format iso-bios linux.yml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.4%
  • Dockerfile 1.6%