Skip to content

Commit e0a82b1

Browse files
author
Patrick M
committed
fix: update code block style
1 parent 79d7bf4 commit e0a82b1

File tree

1 file changed

+24
-5
lines changed

1 file changed

+24
-5
lines changed

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

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,16 +78,35 @@ sudo nano /etc/apt/apt.conf.d/50unattended-upgrades
7878

7979
Uncomment the following line
8080

81-
```
82-
"origin=*";
81+
```diff
82+
Unattended-Upgrade::Origins-Pattern {
83+
+ "origin=*";
84+
- "origin=Debian,codename=${distro_codename}-updates";
85+
-// "origin=Debian,codename=${distro_codename}-proposed-updates";
86+
- "origin=Debian,codename=${distro_codename},label=Debian";
87+
- "origin=Debian,codename=${distro_codename},label=Debian-Security";
88+
- "origin=Debian,codename=${distro_codename}-security,label=Debian-Security";
89+
90+
- // Archive or Suite based matching:
91+
- // Note that this will silently match a different release after
92+
- // migration to the specified archive (e.g. testing becomes the
93+
- // new stable).
94+
-// "o=Debian,a=stable";
95+
-// "o=Debian,a=stable-updates";
96+
-// "o=Debian,a=proposed-updates";
97+
-// "o=Debian Backports,a=${distro_codename}-backports,l=Debian Backports";
98+
};
8399

84100
<--->
85101

86-
Unattended-Upgrade::InstallOnShutdown "false";
102+
+ Unattended-Upgrade::InstallOnShutdown "false";
103+
- Unattended-Upgrade::InstallOnShutdown "true";
87104

88105
<--->
89106

90-
Unattended-Upgrade::Remove-Unused-Dependencies "true";
107+
+ Unattended-Upgrade::Remove-Unused-Dependencies "true";
108+
- Unattended-Upgrade::Remove-Unused-Dependencies "false";
91109

92-
Unattended-Upgrade::Automatic-Reboot "true";
110+
+ Unattended-Upgrade::Automatic-Reboot "true";
111+
- Unattended-Upgrade::Automatic-Reboot "false";
93112
```

0 commit comments

Comments
 (0)