Skip to content

Commit cefc3b9

Browse files
committed
fix Debian Guide
1 parent acca2c8 commit cefc3b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_posts/2024-12-02-Cobbler-v3.3.7-Debian-Deployment-Guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ That said, continue at your own risk.
4646

4747
While this section describes installing Debian from the local Cobbler server, the resulting system will use the public Debian mirrors for updates and installs going forward. Add a `cobbler repo` entry for those public Debian mirrors with your desired components to be referenced in the auto-install (these repos are only only for metadata, they will not be mirrored or downloaded locally with the below settings)
4848

49-
shell```
49+
```shell
5050
sudo cobbler repo add --name bookworm-latest --keep-updated false --mirror-locally false --breed apt --arch x86_64 --mirror "http://deb.debian.org/debian" --apt-components="main non-free non-free-firmware contrib" --apt-dists=bookworm
5151
sudo cobbler repo add --name bookworm-updates --keep-updated false --mirror-locally false --breed apt --arch x86_64 --mirror "http://deb.debian.org/debian" --apt-components="main non-free non-free-firmware contrib" --apt-dists=bookworm-updates
5252
sudo cobbler repo add --name bookworm-security --keep-updated false --mirror-locally false --breed apt --arch x86_64 --mirror "http://security.debian.org/debian-security" --apt-components="main non-free non-free-firmware contrib" --apt-dists=bookworm-security
@@ -116,7 +116,7 @@ done 2> /dev/null 1> /dev/null &' | tee -a /var/lib/cobbler/scripts/preseed_earl
116116

117117
Create a new late_apt_repo_config template to not use the Cobbler server as an `apt` mirror post-installation, otherwise will get unskippable error
118118

119-
shell```
119+
```shell
120120
grep -v 'deb http://$http_server/cblr/links/$distro_name $os_version main' /var/lib/cobbler/snippets/late_apt_repo_config | tee /var/lib/cobbler/snippets/late_apt_repo_config-no_cobbler
121121
```
122122

0 commit comments

Comments
 (0)