Open z1haze opened 3 weeks ago
whoops this looks like a duplicate of #418 and #442 ... perhaps update your documentation this seems to be a common issue
Can confirm that adding the lxc user to the sudoers file fixes the issue, however it did require that i reinstall gravity-sync to make it work. e.g. usermod -aG sudo root
(in my case)
The documentation for install mentions it will setup a passwordless sudo something or-other during the installation but appears it doesn't work.
Issue Description I have my pihole servers install as lxc's (i used proxmox-helper-scripts) which install it using a "automatic login" to the shell. That said, I did go into sshd_config and enable root login and I set a password for the root accounts on both machines. (this is all on a private network, so no risk, please don't lecture). Anyway, after doing so I installed your integration on both containers, provided the password and it generated the ssh keys, etc. I make some changes on instance on and kicked off a dry-run to see how it would work, and it asked me for my password on literally every step before it would move on to the next step. I'm not sure if this is a setup issue, or an issue with the lxc, but I would not expect to have to enter the password a dozen times for this to function. The command I ran was
gravity-sync compare
Below is the full output, but after each and every line printed, it required me to re-enter the password.