mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-24 16:10:46 -06:00
docs(install): add missing steps in Debian family when facing hardened umask (#1126)
Signed-off-by: Nils Ballmann <45712604+nsballmann@users.noreply.github.com>
This commit is contained in:
parent
5a2b906135
commit
3b4069e697
@ -1,4 +1,4 @@
|
||||
sudo install -m 0755 -d /etc/apt/keyrings
|
||||
curl -fsSL https://get.opentofu.org/opentofu.gpg | sudo tee /etc/apt/keyrings/opentofu.gpg >/dev/null
|
||||
curl -fsSL https://packages.opentofu.org/opentofu/tofu/gpgkey | sudo gpg --no-tty --batch --dearmor -o /etc/apt/keyrings/opentofu-repo.gpg >/dev/null
|
||||
sudo chmod a+r /etc/apt/keyrings/opentofu.gpg
|
||||
sudo chmod a+r /etc/apt/keyrings/opentofu.gpg /etc/apt/keyrings/opentofu-repo.gpg
|
||||
|
@ -2,3 +2,4 @@ echo \
|
||||
"deb [signed-by=/etc/apt/keyrings/opentofu.gpg,/etc/apt/keyrings/opentofu-repo.gpg] https://packages.opentofu.org/opentofu/tofu/any/ any main
|
||||
deb-src [signed-by=/etc/apt/keyrings/opentofu.gpg,/etc/apt/keyrings/opentofu-repo.gpg] https://packages.opentofu.org/opentofu/tofu/any/ any main" | \
|
||||
sudo tee /etc/apt/sources.list.d/opentofu.list > /dev/null
|
||||
sudo chmod a+r /etc/apt/sources.list.d/opentofu.list
|
||||
|
Loading…
Reference in New Issue
Block a user