{
  "title": "Auto-start Lyra-Core VM",
  "messages": [
    {
      "role": "user",
      "content": "how can i set it up on the ryzen proxmoxbox so lyra-core VM boots automatically?"
    },
    {
      "role": "assistant",
      "content": "Here’s how to make your **Lyra-Core VM auto-start** on your Ryzen Proxmox server every time the host boots.\n\n---\n\n### ⚙️ Plan\n\n1. **Identify the VM ID** (e.g., 101 or whatever Lyra-Core is).  \n2. **Enable autostart** for that VM using Proxmox’s built-in startup flags.  \n3. (Optional) **Adjust boot order or delay** so that dependencies like PostgreSQL or NVGRAM VMs start first.  \n4. **Test** by rebooting Proxmox and confirming the VM auto-launches.\n\n---\n\n### 🧩 Step-by-Step\n\n#### **1. Find your VM ID**\nIn the web UI:\n- Go to **Proxmox Web Interface → Datacenter → Node → Lyra-Core VM**\n- The **VM ID** is shown in parentheses next to its name (e.g., `101 (Lyra-Core)`).\n\nOr via SSH:\n```bash\nqm list\n```\n\n#### **2. Enable autostart**\nRun this command:\n```bash\nqm set 101 --startup order=2\n```\n\nYou can also just use:\n```bash\nqm set 101 --startup enabled=1\n```\n…but the `order` argument is cleaner if you’re running multiple VMs.\n\n---\n\n#### **3. (Optional) Control boot order / delay**\nIf you have NVGRAM or Postgres as separate VMs that Lyra-Core depends on, set them to start *first*:\n```bash\nqm set 100 --startup order=1,up=10\nqm set 101 --startup order=2,up=20\n```\n- `order=1` means start first.\n- `up=10` means wait 10 seconds before continuing to the next.\n\nYou can stack these like:\n```\nNVGRAM → 1\nPostgres → 2\nLyra-Core → 3\n```\n\n---\n\n#### **4. Verify**\nAfter setting, check:\n```bash\ngrep startup /etc/pve/qemu-server/101.conf\n```\nYou should see something like:\n```\nstartup: order=2,up=20\n```\n\nThen reboot your host:\n```bash\nreboot\n```\nand watch the node boot log or web UI — the Lyra-Core VM should start automatically once Proxmox finishes initializing.\n\n---\n\nWould you like me to include an example where Lyra-Core, NVGRAM, and Relay all start in sequence with proper delays? That’s a common “stack boot” pattern for your setup."
    }
  ]
}