Hey, wondering if anyone can help me troubleshoot this as the alias doesn’t seem to be working by default.
Right now:
root@test:~# snap install opentofu --classic --edge
opentofu (edge) 1.6.0-alpha2 from Jon Seager (jnsgruk) installed
root@test:~# tofu
tofu: command not found
I can see the alias is defined in the meta.yaml:
root@test:/var/snap/opentofu/current# cat /snap/opentofu/current/meta/snap.yaml
name: opentofu
version: 1.6.0-alpha2
summary: OpenTofu lets you declaratively manage your cloud infrastructure.
description: |
OpenTofu is an OSS tool for building, changing, and versioning infrastructure
safely and efficiently. OpenTofu can manage existing and popular service
providers as well as custom in-house solutions.
base: core22
license: MPL-2.0
grade: stable
confinement: classic
architectures:
- amd64
apps:
tofu:
command: tofu
aliases:
- tofu
I thought the above request should mean that tofu
works out of the box? Perhaps @Igor might have some experience here?
Cheers! Jon