Skip to content

Commit 09a3b1f

Browse files
author
Patrick M
committed
update lxc setup
1 parent dc33866 commit 09a3b1f

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

_posts/2022-12-18-lxc-setup.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,25 @@ PermitEmptyPasswords no
5454
```
5555

5656
Once you've made the changes, you can restart the LXC and use SSH with your new user.
57+
58+
## Unattended Upgrades Configuration
59+
60+
Edit the following file.
61+
62+
```bash
63+
sudo nano /etc/apt/apt.conf.d/50unattended-upgrades
64+
```
65+
66+
Uncomment the following line
67+
68+
```
69+
"origin=Debian,codename=${distro_codename}-updates";
70+
71+
<--->
72+
73+
Unattended-Upgrade::InstallOnShutdown "false";
74+
75+
<--->
76+
77+
Unattended-Upgrade::Remove-Unused-Dependencies "true";
78+
```

0 commit comments

Comments
 (0)