weft-firstboot

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2026 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Command weft-firstboot is the openweft cloud-init-lite. One binary, one config file (HCL preferred, cloud-config YAML legacy), four supported guest OSes (linux, openbsd, freebsd, netbsd).

At first boot of a freshly-installed VM, weft-firstboot :

  1. Discovers the user-data datasource (CLI override, NoCloud cidata disk, NoCloud-NET via the default gateway HTTP).
  2. Parses it as HCL or cloud-config YAML (autodetect by magic header).
  3. Applies hostname / users / SSH keys / write_files / runcmds in that order via the OS-native primitives.
  4. Writes a sentinel at /var/lib/weft-firstboot/applied so the next boot short-circuits the whole flow (idempotent by construction).

Unlike full cloud-init, weft-firstboot deliberately does NOT do : package install, locale / NTP / keyboard modules, disk resize, arbitrary metadata sources (EC2/Azure/GCP/OpenStack/vSphere). Those are out of scope for V0.1.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL