---
name: lifecycle-provision-node
risk_class: config_mutation
inputs: [node_name, kind, storage_pool]
verification: "grep 'state: provisioning' inventory.yaml"
docs_update_checklist: [doc_page_stub]
transition: "planned -> provisioning"
---

# Lifecycle: provision a node

Per [seeds/ontology.yaml](../../../seeds/ontology.yaml) `lifecycle.transitions`.
Policy note: `provisioning` nodes get a lifecycle override —
`config_mutation` actions downgrade to `reversible_low` because nothing
depends on the node yet (see `seeds/policy.yaml` `lifecycle_overrides`).

Requires (from ontology): inventory entry, IP reserved, storage pool
chosen, doc page stub.

1. Create the LXC/VM on its target Proxmox host (`pct create` /
   `qm create`), choosing the storage pool deliberately — record it as
   the `storage:` field once populated (Week 1 schema; not yet backfilled
   for existing nodes).
2. Add the inventory entry: `homelab client add <name>` for anything that
   will run the `homelab` CLI, or a direct `hosts.<name>:` block with
   `state: provisioning`, `kind`, `host`, `pve_id`, `lan_ip` for
   infra-only LXCs that won't self-enroll.
3. Stub the doc page (`containers/<pve_id>-<name>.md` or
   `vms/<pve_id>-<name>.md`) — even a one-line "provisioning, see plan X"
   is enough to satisfy the transition requirement.
4. Reserve the IP in DNS/DHCP notes if it's a fixed LAN address.

Next: [lifecycle-activate-node.md](../lifecycle-activate-node/SKILL.md).
