π Looking for Testers β New Config Files Feature! #1637
Replies: 10 comments 26 replies
-
Can DHCP be an option? |
Beta Was this translation helpful? Give feedback.
-
Sorry for the formatting, its being dumb, Im having some small issues when providing the gateway but not the IP. i want it to grab a dhcp lease in the VLAN 2 Range of 10.2.0.0/24
|
Beta Was this translation helpful? Give feedback.
-
Just an idea but only prefill and skip the options that are defined in the file and still prompt for the others. |
Beta Was this translation helpful? Give feedback.
-
Hey! I'm really glad to see this feature being tested, I'm happy to test it. A couple of ideas that came to me when I read the initial post:
This feature can also piggy back onto @LilTrublMakr 's comment about ip addressing - I have the exact same practice, but instead of modifying the configuration script to handle this, the user could run their own custom script to update the LXC / VM settings to their preferences.
Above all, thanks for keeping ttecks legacy alive and well. It seems like every other day a new script appears in the repo, so kudos to the maintainers! |
Beta Was this translation helpful? Give feedback.
-
I like the idea of having a Config File on my Host, but is the password for accessing the LXC's secured? |
Beta Was this translation helpful? Give feedback.
-
It should be checked if jq is installed or directly install it. The script stopped because jq was not installed |
Beta Was this translation helpful? Give feedback.
-
Not sure if I've missed something but it would be great to be able to pass a flag to the installation script to trigger an unattended installation via config file. Great example of a use case would be triggering the scripts via Ansible playbooks to programmatically create/update containers. |
Beta Was this translation helpful? Give feedback.
-
Does it have a safe config option? |
Beta Was this translation helpful? Give feedback.
-
This is a great idea - thanks for working on this! Two suggestions I'd like to offer:
Thanks! |
Beta Was this translation helpful? Give feedback.
-
@michelroegl-brunner can we make the path to .settings file part of .bashrc so if we say |
Beta Was this translation helpful? Give feedback.
-
Hi everyone
We're looking for testers to try out our new config files feature! If you're interested in getting early access and helping us improve it, we'd love your feedback.
How to test
We have created a test branch for this feature so we do not disturb productive use of our scripts. Keep in mind that this test branch may not include latest bug fixes or improvements.
Do not use this for productive systems.
This is only for development testing and feedback. You can install the scripts as you are used to. There is no support for alpine at the moment. Please report all errors you encounter or feedback you have as answer to this thread, not as a new issue or disscusion please. This will get closed immediately. There is no support when using this scripts besides problems with the config files.
Bash command to start LXC install.
Use the following command
bash -c "$(wget -qLO - https://raw.githubusercontent.com/community-scripts/ProxmoxVE/config_file/ct/APPLICATION.sh)"
and change APPLICATION.sh with your desired app (debian.sh for example).
After starting the script use point
4 Use Config File
###Config file
You need to create a file on your PVE Host to supply the configs befor running the scripts. It is defined by us to be
/opt/community-scripts/.settings
but you can change that in the prompt to whatever you wish.If all or some settings are not present in the file, default values get used.
What settings are available?
The following settings can be provided with this file at the moment (subject to changes).
Caution
There is some input sanity checking missing, if wrong values are entered the script may break
100-9999
debian
orubuntu
11 or 12 for Debian
20.04, 22.04, 24.04, 24.10 for Ubuntu
1
unprivileged or0
privilegedyes
orno
yes
orno
yes
orno
Example file
Each value needs to be in double qoutes.
Beta Was this translation helpful? Give feedback.
All reactions