opentofu/website/docs/intro/install/deb.sh
Eligio Mariño 15f9d754b1
website: add windows installation page (#2626)
Signed-off-by: Eligio Mariño <22875166+gmeligio@users.noreply.github.com>
2025-04-08 07:18:40 -04:00

22 lines
No EOL
432 B
Bash
Executable file

#!/bin/bash
# Copyright (c) The OpenTofu Authors
# SPDX-License-Identifier: MPL-2.0
# Copyright (c) 2023 HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
set -e
apt update
apt install -y sudo curl
if [ "$1" = "--convenience" ]; then
bash -ex examples/deb-convenience.sh
else
bash -ex examples/deb-step1.sh
bash -ex examples/deb-step2.sh
bash -ex examples/deb-step3.sh
bash -ex examples/deb-step4.sh
fi
tofu -version