Bayke Farm

Device Installation Server

Quick Start

To provision a new Raspberry Pi device, run this command on the device:

curl -fsSL https://install.baykedfarm.com/install.sh | sudo bash

The script will prompt for the installation password and device hostname.

API Endpoints

GET /install.sh PUBLIC

Download the device installation script. This is the entry point for new devices.

GET /health PUBLIC

Health check endpoint. Returns server status and component availability.

POST /api/v1/register PUBLIC

Register a new device with the orchestrator.

Body (JSON):

{"hostname": "abc-0001", "tailscale_ip": "100.64.1.5"}

System Status

Install Script
Register Script
Inventory File
Server Running

Server Time: 2026-03-26 17:19:23 UTC

Installation Password

The install.sh script requires a password to proceed. This password is verified locally on the device before any network operations begin.

The password is stored in: vars/provision.yml

📋 Provisioning Flow

  1. Device downloads and runs install.sh
  2. Installs Tailscale VPN and connects to tailnet
  3. Registers with orchestrator via SSH or HTTP API
  4. Orchestrator runs provisioning phases 1-8 (skips phase 3)
  5. Device reboots and is ready for production