# Online Phase

1. Open virt-manager:

```
sudo virt-manager
```

2. Double-click the **online** VM.
3. Press the start button ▶️.
4. Once the VM has initialized, log in with username **vx** and password **votingworks**.
5. To ensure that the console displays correctly, select "View" > "Resize to VM".
6. In the VM terminal window, run the following commands:

```
cd ~/code/vxsuite-build-system
git pull

# Optional step if VotingWorks is doing development work in
# vxsuite-build-system and the latest code in GitHub differs from the source
# code provided to the test lab
git checkout <relevant-vxsuite-build-system-tag>

./scripts/tb-run-online-phase.sh <inventory-name>
```

* You will be prompted for the sudo password.

7. The online phase will take awhile to complete. Once it finishes, you can shut down the online VM:

```
sudo shutdown -h now
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.voting.works/vxsuite-tdp-v4/software-installation/trusted-build/online-phase.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
