Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit 30fdc51

Browse files
a1346054mmguero
authored andcommitted
Remove dependence on deprecated apt-key for installation
1 parent 596a3eb commit 30fdc51

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/_includes/upstream-vagrant-install.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
* Alternatively install vagrant following [https://www.vagrantup.com/downloads](https://www.vagrantup.com/downloads):
99
{% if include.distro == "debian" or include.distro == "ubuntu" -%}
1010
```shell
11-
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
12-
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
11+
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo tee /usr/share/keyrings/hashicorp-archive-keyring.asc
12+
echo "deb [ signed-by=/usr/share/keyrings/hashicorp-archive-keyring.asc ] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
1313
sudo apt-get update && sudo apt-get install vagrant
1414
```
1515
{% elsif include.distro == "fedora" -%}

0 commit comments

Comments
 (0)