From f7ecf03232707e9c8764a20bfc2d325346660e64 Mon Sep 17 00:00:00 2001 From: a1346054 <36859588+a1346054@users.noreply.github.com> Date: Tue, 9 Aug 2022 08:59:57 +0000 Subject: [PATCH] Remove dependence on deprecated apt-key for installation --- docs/_includes/upstream-vagrant-install.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_includes/upstream-vagrant-install.html b/docs/_includes/upstream-vagrant-install.html index 9a9b324..88074b1 100644 --- a/docs/_includes/upstream-vagrant-install.html +++ b/docs/_includes/upstream-vagrant-install.html @@ -8,8 +8,8 @@ chmod a+x ./install.bash * Alternatively install vagrant following [https://www.vagrantup.com/downloads](https://www.vagrantup.com/downloads): {% if include.distro == "debian" or include.distro == "ubuntu" -%} ```shell -curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add - -sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main" +curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo tee /usr/share/keyrings/hashicorp-archive-keyring.asc +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 sudo apt-get update && sudo apt-get install vagrant ``` {% elsif include.distro == "fedora" -%}