Read VM deployment facts from deploy flake #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "agent/vm-facts-nexus"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes allod/nexus#6
Risk
R3 high. This rewires rebuild/provision facts across the provisioning/auth boundary: target IP, username, host-key pins, host-key ciphertext path, and forge bootstrap gate now come from
DEPLOY_FLAKE#vmFactsinstead of side checkout lock parsing andgit showreads. The scripts still fail closed before rebuild/provision mutation when facts or host-key pins are missing or mismatched.Validation
nix flake checkbash tests/rotation-common.shbash tests/rebuild-vm-from-host.shbash tests/provision-vm-from-host.shgit diff --checkresolve_flake_input_locked_rev,ensure_git_commit_available,machine_host_key_materials_at_secrets_pin,resolve_target_ip_at_pin,read_forge_key_at_inventory_pin.Notes
Live rebuild/provision remains a human gate. The first host run should be preceded by
nix eval <deploy>#vmFacts.<vm> --jsonagainst the real deploy flake.