I've been able to configure automatic security updates with:
sudo dpkg-reconfigure unattended-upgrades
Running the above command brings up a configuration page. I only need to hit enter twice and the process is complete.
I'm looking for a way to automate the setup. For example with apt-get install
I can use the -y
flag.
Is there a way I can do this with unattended-upgrades
so the process can be automated?
dpkg-reconfigure
non-interactively)