Repository navigation
LBA REQ 044
Proven
Deployment / onboarding (ADR-0023 Phase 1 -- the from-scratch golden-VM provisioner)
The system shall provision the from-scratch Ubuntu golden VM with a remotely automatable base before human login, preserve that proof in every production golden clone, then install both LabVIEW 2026 Community and VIPM, so fail-closed gates block the build when OpenSSH, Git, supported guest utilities, LabVIEW, or VIPM are omitted.
ADR-0023's golden VM is "Ubuntu + LabVIEW + VIPM", but a clean Ubuntu base previously required graphical login before OpenSSH and Git were available. The unattended hook establishes that boundary before login. The production definition and package receipt must retain it so a later golden clone cannot lose remote automation while continuing to appear valid.
-
build-virtualbox.shinvokes the supported unattended post-install template, accepts the disposable credential only by private file, and binds SSH only to an operator-selected host-loopback NAT port. -
base-bootstrap.shinstalls and enables OpenSSH, Git, and supported VirtualBox guest utilities, then emits a machine-readable first-boot PASS receipt. -
production-golden-box.Vagrantfilefails closed when that receipt is missing or stale, and its governed metadata binds the exact definition digest. -
golden-activation-cycle.ps1 -Mode Packagevalidates and binds the base receipt before any existing box deletion, VM halt, or Vagrant packaging, in addition to the console, activation, and identity-freshness guards. -
cleanroom/ubuntu-labview/provision-guest.shinstallsni-labview-2026-communityfrom the NI apt repo signed by the committed keyring. - It installs VIPM from the JKI package server
(
https://packages.jki.net/vipm/preview/vipm_latest_preview_amd64.deb) viadpkg -i+apt-get install -f, idempotent via adpkg -s vipmguard. - The deterministic base, golden-box, and provisioner tests fail closed unless all early and later boundaries remain present.
- Live evidence: VIPM 26.3.1-4000 was installed on the real scratch VM
(
lba-ubuntu2404-labview2026-scratch) from the JKI source; the receipt records it.
The base and golden-box tests plus
experiments/provisioner/checkProvisioner.mjs are gated by
ubuntu-base-bootstrap-prerequisites, ubuntu-production-golden-box, and
provisioner-installs-labview-and-vipm in verify-local-gates and mapped in the
RTM. Authored under the singular-requirement directive (one shall).
cleanroom/ubuntu-labview/build-virtualbox.sh; cleanroom/ubuntu-labview/base-bootstrap.sh; cleanroom/ubuntu-labview/production-golden-box.Vagrantfile; cleanroom/ubuntu-labview/production-golden-box.metadata.json; cleanroom/ubuntu-labview/production-golden-base-proof.json; cleanroom/ubuntu-labview/golden-activation-cycle.ps1; scripts/verify-ubuntu-base-bootstrap.mjs; scripts/verify-ubuntu-golden-box.mjs; test/ubuntu-base-bootstrap.mjs; test/ubuntu-golden-box.mjs; experiments/provisioner/checkProvisioner.mjs; experiments/provisioner/verify-provisioner-labview-vipm.selftest.mjs; experiments/provisioner/fixtures/provisioner-vipm-receipt.json; cleanroom/ubuntu-labview/provision-guest.sh; experiments/verify-local-gates.mjs
Proven