Replies: 8 comments 7 replies
-
It is not intended that containers and scripts update themselves, so you can open a back door for anyone at any time. Scripts should only be updated by themselves, with interaction, to avoid any security problems. If you want, build a script using the CT/LXC.sh and put it on the respective LXC, and create a crontab. Please note that we do not provide support for such actions if scripts or updates are defective. |
Beta Was this translation helpful? Give feedback.
-
I think you misunderstood me. |
Beta Was this translation helpful? Give feedback.
-
Not at the moment, but I'm also not a fan of big silent updates. We are also currently building in some error handling, which makes this almost impossible. (Memory check, RAM check, CPU check, and so on). @havardthom @judeibe @Mellowlynx @remz1337 or what do you say? |
Beta Was this translation helpful? Give feedback.
-
Some LXCs also have optional installs which you have to choose, hence the wording in |
Beta Was this translation helpful? Give feedback.
-
You should not just auto-update. If you want to automate it, be my guest, but I don't think we should enable/support it in any way. |
Beta Was this translation helpful? Give feedback.
-
Updates can break no matter how you perform them - manual or automatic. I'm not saying auto-patch everything all the time, but Currently the community-scripts site containts more than 100 lxc containers.They are growing rapidly. Consider majority of the users have around 5-10 lxc running, that means 5-10 lxc have to be pached manually. (I'm not referring to the OS patching, but the application running in the lxc - ex. gitea,vaultwarden etc, which cannot be patched using apt update or equivalent) - Ok. Not a big deal. Myself, personally I have a regular backup jobs of all VMs/LXCs and OS patching is done via ansible. I decide when to patch. When I do I just start a playbook and keep an eye on the progress. That beats manual labor every time. If something breaks, I log in, fix it or restore it and continue with my day. |
Beta Was this translation helpful? Give feedback.
-
It's not silent or automated but you can run one command to update all LXC's |
Beta Was this translation helpful? Give feedback.
-
I just received a GitHub email marking it as solved. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
As far as I understand, currently the update process for the LXCs is to run a command within the lxc's shell.
All good, working as exptected. But is there a way to automate this and possibly run the update command silenty without user interaction?
The problem is that when you have a lot of lxc container, you'll need to manually connect to each one, run the script, do some interaction etc.
Beta Was this translation helpful? Give feedback.
All reactions