2024-02-19 15:08:20 -05:00
|
|
|
# opentofu
|
|
|
|
|
|
|
|
OpenTofu installation in Qubes OS.
|
|
|
|
|
|
|
|
## Table of Contents
|
|
|
|
|
2024-07-04 11:10:11 -04:00
|
|
|
* [Description](#description)
|
|
|
|
* [Installation](#installation)
|
|
|
|
* [Usage](#usage)
|
2024-02-19 15:08:20 -05:00
|
|
|
|
|
|
|
## Description
|
|
|
|
|
|
|
|
Installs OpenTofu and use it on the "opentofu" app qube. An open-source fork
|
|
|
|
of Terraform.
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
2024-07-04 11:10:11 -04:00
|
|
|
* Top:
|
|
|
|
|
2024-02-19 15:08:20 -05:00
|
|
|
```sh
|
2024-02-23 10:54:35 -05:00
|
|
|
sudo qubesctl top.enable opentofu
|
|
|
|
sudo qubesctl --targets=tpl-opentofu state.apply
|
|
|
|
sudo qubesctl top.disable opentofu
|
2024-02-19 15:08:20 -05:00
|
|
|
```
|
|
|
|
|
2024-07-04 11:10:11 -04:00
|
|
|
* State:
|
|
|
|
|
2024-02-19 15:08:20 -05:00
|
|
|
<!-- pkg:begin:post-install -->
|
2024-07-04 11:10:11 -04:00
|
|
|
|
2024-02-19 15:08:20 -05:00
|
|
|
```sh
|
2024-02-23 10:54:35 -05:00
|
|
|
sudo qubesctl state.apply opentofu.create
|
|
|
|
sudo qubesctl --skip-dom0 --targets=tpl-opentofu state.apply opentofu.install
|
2024-02-19 15:08:20 -05:00
|
|
|
```
|
2024-07-04 11:10:11 -04:00
|
|
|
|
2024-02-19 15:08:20 -05:00
|
|
|
<!-- pkg:end:post-install -->
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
You will be able to run OpenTofu from the "opentofu" qube. As simple as
|
|
|
|
that.
|
|
|
|
|
|
|
|
When using SSH keys, being a split-ssh-agent will facilitate key management.
|