Skip to content

Commit

Permalink
doc: workaround for setting LIBVIRT_DEFAULT_URI
Browse files Browse the repository at this point in the history
See #310
  • Loading branch information
oskardotglobal committed Nov 28, 2024
1 parent fe6fa62 commit a061cf1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/libvirt.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,17 @@ Together, these components form a powerful and flexible virtualization stack, wi

3. Configure `libvirt` to use the 'system' URI by adding the line `LIBVIRT_DEFAULT_URI="qemu:///system"` to your preferred shell profile file (e.g., `.bashrc`, `.zshrc`, etc.).
```bash
echo "export LIBVIRT_DEFAULT_URI=\"qemu:///system\"" >> ~/.bashrc
echo 'export LIBVIRT_DEFAULT_URI="qemu:///system"' >> ~/.bashrc
```

> [!NOTE]
> WinApps may not read your shell's configuration. If you're having issues getting the installer to detect your VM, try adding
> `LIBVIRT_DEFAULT_URI="qemu:///system"` to your `/etc/environment` like:
> ```bash
> echo 'LIBVIRT_DEFAULT_URI="qemu:///system"' | sudo tee -a /etc/environment
> ```
> Thanks to imoize for pointing this out: https://github.com/winapps-org/winapps/issues/310#issuecomment-2505348088

4. Install `QEMU Guest Agent`.
```bash
sudo apt install qemu-guest-agent # Debian/Ubuntu
Expand Down

0 comments on commit a061cf1

Please sign in to comment.