setup_docs: Update vagrant installation to support Ubuntu 24.04.

Update the Vagrant installation procedure, as Vagrant is no
longer available in the apt repository starting from Ubuntu 24.04

Fixes #32837.
This commit is contained in:
apoorvapendse
2025-01-02 13:38:18 +05:30
committed by Tim Abbott
parent 5378464f87
commit 44f5f4e129

View File

@@ -201,8 +201,18 @@ WSL 2 can be uninstalled by following [Microsoft's documentation][uninstall-wsl]
##### 1. Install Vagrant, Docker, and Git
Install vagrant:
```console
$ sudo apt install vagrant docker.io git
$ wget -O - https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
$ echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
$ sudo apt update && sudo apt install vagrant
```
Install Docker and Git:
```console
$ sudo apt install docker.io git
```
```{include} setup/install-docker.md