Repository navigation
LBA REQ 049
Proven
Deployment / provisioning (ADR-0023 Phase 1 -- the one-command golden VM)
The system shall verify the golden-VM provisioner installs every headless-LabVIEW prerequisite -- Xvfb, VI Server (TCP 3363) configuration for both LabVIEW executable basenames, quoted access lists, and the post-install reboot -- so a fail-closed gate proves a fresh one-command provision yields a headless-benchmark-ready VM.
The near-term First Win is a one-command from-scratch golden VM, but a fresh
provision was NOT headless-ready until three fixes were applied by hand during bring-up:
Xvfb was missing, the VI Server config had to be written for BOTH labview.conf and
labviewcommunity.conf (LabVIEW picks its config file by the launched exe basename), and
the install needed a reboot before VI Server would bind :3363. Folding those into the
provisioner and gating its completeness keeps that knowledge from silently regressing.
-
provision-guest.shapt-installsxvfb(headless display forLabVIEWCLIover SSH). - It writes the VI Server config (
server.tcp.enabled, port 3363, quoted access lists) into bothlabview.confandlabviewcommunity.confunder the primary user's home. - It addresses the post-install reboot (documented, with an opt-in
PROVISION_REBOOT=1). -
validateReadinessReceiptre-derives the checks from the ACTUAL script text and fails closed if any prerequisite is absent, the ready verdict is forged, or the digest is tampered.
The verifier experiments/provisioner-readiness/provisionerReadiness.mjs
plus its self-test are gated by provisioner-headless-readiness in verify-local-gates
and mapped in the RTM. The committed receipt is bound to the real provision-guest.sh, so
editing the provisioner requires regenerating the fixture. Authored under the
singular-requirement directive (one shall).
cleanroom/ubuntu-labview/provision-guest.sh; experiments/provisioner-readiness/provisionerReadiness.mjs; experiments/provisioner-readiness/verify-provisioner-readiness.selftest.mjs; experiments/provisioner-readiness/fixtures/provisioner-headless-readiness-receipt.json; experiments/verify-local-gates.mjs
Proven