diff options
Diffstat (limited to 'test/formatters/installers/opentofu.bash')
| -rw-r--r-- | test/formatters/installers/opentofu.bash | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/formatters/installers/opentofu.bash b/test/formatters/installers/opentofu.bash new file mode 100644 index 0000000..d95c0fe --- /dev/null +++ b/test/formatters/installers/opentofu.bash @@ -0,0 +1,7 @@ +curl -fsSL https://get.opentofu.org/opentofu.gpg -o /etc/apt/keyrings/opentofu.gpg +curl -fsSL https://packages.opentofu.org/opentofu/tofu/gpgkey | gpg --no-tty --batch --dearmor -o /etc/apt/keyrings/opentofu-repo.gpg + +echo "deb [signed-by=/etc/apt/keyrings/opentofu.gpg,/etc/apt/keyrings/opentofu-repo.gpg] https://packages.opentofu.org/opentofu/tofu/any/ any main" > /etc/apt/sources.list.d/opentofu.list + +apt-get update +apt-get install -y tofu |
