Replies: 1 comment 4 replies
-
|
var_CTID or CTID is the correct |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
My goal is to be able to set environment variables and then call one script (for example https://github.com/community-scripts/ProxmoxVE/blob/main/ct/prometheus-pve-exporter.sh).
I read
build.funcdocumentation and source code, and it seems that there are some errors in the doc.For example, this part suggests to set
CTIDvariable, which leads to an error, because the code actually expectsCT_ID.Also, it says here that you can set variables and create containers by just
source-ing thebuild.func.This does nothing, just declares some functions.
My question is: despite every places where it says « This can be possible, depending on the script called » (like here), is it really possible ?
And if yes, how ?
I have tried many ways.
The doc says that
startshould be the entrypoint, but this always opens the TUI for selection, even when I declare many variables.And if I call
build_container, it fails, and I think that this is because some variables might be missing even if they are declared asvar_*.Here's an example
Details
When I execute the above script (
startin comment), I haveWe can see that
hostnamecoresmemoryorunprivilegedare missing their values, even if I declared them (I used the same variable declaration as in thecreate_containerfunction from the documentation).Beta Was this translation helpful? Give feedback.
All reactions