forked from Fediversity/Fediversity
run direnv allow in panel to ensure it can get proxmox credentials
This commit is contained in:
parent
a9b0e88315
commit
4af36e4f65
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ class DeploymentStatus(ConfigurationForm):
|
||||||
# XXX should we not log this if it may show proxmox credentials from `.envrc`s?
|
# XXX should we not log this if it may show proxmox credentials from `.envrc`s?
|
||||||
# those could instead be passed as sensitive TF vars, but that would not address this.
|
# those could instead be passed as sensitive TF vars, but that would not address this.
|
||||||
logger.debug("env: %s", env)
|
logger.debug("env: %s", env)
|
||||||
cwd = f"{settings.repo_dir}/launch"
|
cwd = f"{settings.repo_dir}/infra/operator"
|
||||||
# direnv wants this run upfront, and chaining in subprocess feels awkward
|
# direnv wants this run upfront, and chaining in subprocess feels awkward
|
||||||
subprocess.check_call(["direnv", "allow"], cwd=cwd)
|
subprocess.check_call(["direnv", "allow"], cwd=cwd)
|
||||||
cmd = [
|
cmd = [
|
||||||
|
|
Loading…
Add table
Reference in a new issue