Takeover

Kairos supports takeover installations. Here are a few summarized steps:

  • From the dedicated control panel (OVH, Hetzner, etc.), boot in rescue mode
  • Install docker and run for example:
export DEVICE=/dev/sda
export IMAGE=quay.io/kairos/@flavor:@flavorRelease-core-amd64-generic-v3.2.3
cat <<'EOF' > config.yaml
#cloud-config
users:
- name: "kairos"
  passwd: "kairos"
  ssh_authorized_keys:
  - github:mudler
EOF
export CONFIG_FILE=config.yaml
docker run --privileged -v $PWD:/data -v /dev:/dev -ti $IMAGE kairos-agent manual-install --device $DEVICE --source dir:/ /data/$CONFIG_FILE
  • Switch back to booting from HD and reboot.