Skip to content

Commit 62760f5

Browse files
committed
updated to 3.3.7
1 parent d59854d commit 62760f5

4 files changed

+34
-21
lines changed
File renamed without changes.

_posts/2024-11-02-Cobbler-3.3.6-OpenSUSE-Deployment-Guide.md renamed to _posts/2024-12-11-Cobbler-v3.3.7-OpenSUSE-Deployment-Guide.md

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
layout: post
3-
title: Cobbler (v3.3.6) OpenSUSE Deployment Guide
3+
title: Cobbler (v3.3.7) OpenSUSE Deployment Guide
44
author: Sus-Admin
55
summary: Deploying OpenSUSE Leap 15.4 via PXE network boot.
66
tags: cobbler
77
---
88

9-
This guide assumes that you have a Fedora 34 server or workstation configured to run Cobbler v3.3.6 server as described in the [Cobbler 3.3.6 Beginner's guide](/_post/2024-10-16-Cobbler-3.3.6-Beginners-Guide.md).
9+
This guide assumes that you have a Fedora 34 server or workstation system configured to run Cobbler v3.3.7 similarly to the [Cobbler v3.3.7 Beginner's guide](/_posts/2024-10-16-Cobbler-v3.3.7-Beginners-Guide.md).
1010

1111
## Table of Contents
1212
{:.no_toc}
@@ -16,14 +16,15 @@ This guide assumes that you have a Fedora 34 server or workstation configured to
1616

1717
## Objective
1818

19-
Starting where the [Beginner's guide](/_post/2024-10-16-Cobbler-3.3.6-Beginners-Guide.md) left off, further configure the Cobbler v3.3.6 server to deploy OpenSUSE Leap 15.4 via PXE network boot, using the same system and network environment. This guide assumes that you still have `selinux` and `firewalld` configured and enabled as described in the Beginner's guide.
19+
Starting where the [Beginner's guide](/_posts/2024-10-16-Cobbler-v3.3.7-Beginners-Guide.md) left off, further configure the Cobbler v3.3.7 server to deploy OpenSUSE Leap 15.4 via PXE network boot, using the same system and network environment. This guide assumes that you still have `selinux` and `firewalld` configured and enabled as described in the Beginner's guide.
2020

2121
## OpenSUSE Leap 15.4 PXE Deployment
2222

2323
Download the installation media for OpenSUSE Leap 15.4:
2424

2525
```shell
26-
cd ~/Downloads && wget https://provo-mirror.opensuse.org/distribution/leap/15.4/iso/openSUSE-Leap-15.4-DVD-x86_64-Media.iso
26+
cd ~/Downloads
27+
wget https://provo-mirror.opensuse.org/distribution/leap/15.4/iso/openSUSE-Leap-15.4-DVD-x86_64-Media.iso
2728
```
2829

2930
Mount the OpenSUSE Leap 15.4 installation media and run the `cobbler import`:
@@ -43,13 +44,24 @@ cobbler distro edit --name SUSE-15.4-x86_64 --kernel-options 'install=$tree'
4344
Modify the sample "autoyast.xml" template file included with Cobbler in order to properly install Leap 15.4:
4445

4546
```shell
46-
cat /var/lib/cobbler/templates/sample_autoyast.xml | grep -v runlevel | grep -v "<default>3</default>" | sed 's,networking.xml,suse-15.4-networking.xml,' | sed 's,suse_scriptwrapper.xml,suse-15.4_scriptwrapper.xml,' > /var/lib/cobbler/templates/suse-15.4-autoyast.xml
47+
cat /var/lib/cobbler/templates/sample_autoyast.xml | \
48+
grep -v runlevel | \
49+
grep -v "<default>3</default>" | \
50+
sed 's,networking.xml,suse-15.4-networking.xml,' | \
51+
sed 's,suse_scriptwrapper.xml,suse-15.4_scriptwrapper.xml,' > /var/lib/cobbler/templates/suse-15.4-autoyast.xml
4752
```
4853

4954
Edit the `networking.xml` Snippet included with Cobbler in order to accomodate Leap 15.4 *(copy/paste the following block in-full to the Cobbler server's CLI)*
5055

5156
```shell
52-
cat /var/lib/cobbler/snippets/networking.xml | grep -v dhcp_resolv | grep -v keep_install_network | sed 's,<nameservers config:type="list">,#if $name_servers and $name_servers[0] != "":\n <nameservers config:type="list">,' | sed 's,</nameservers>,</nameservers>\n #end if,' | sed '/ <net-udev config:type="list">/,/ #if $getVar("system_name","") != ""/c\ \ \ \ #if $getVar("system_name","") != ""\n\ \ \ \ <net-udev config:type="list">' | sed 's,<networking>,<networking>\n## Figure out if we'"'"'re automating OS installation for a system or a profile\n#if $getVar('"'"'system_name'"'"'\,'"'""'"') != '\'\''\n <keep_install_network config:type="boolean">false</keep_install_network>\n#else\n <keep_install_network config:type="boolean">true</keep_install_network>\n#end if,' > /tmp/networking.xml
57+
cat /var/lib/cobbler/snippets/networking.xml | \
58+
grep -v dhcp_resolv | \
59+
grep -v keep_install_network | \
60+
sed 's,<nameservers config:type="list">,#if $name_servers and $name_servers[0] != "":\n <nameservers config:type="list">,' | \
61+
sed 's,</nameservers>,</nameservers>\n #end if,' | \
62+
sed '/ <net-udev config:type="list">/,/ #if $getVar("system_name","") != ""/c\ \ \ \ #if $getVar("system_name","") != ""\n\ \ \ \ <net-udev config:type="list">' | \
63+
sed 's,<networking>,<networking>\n## Figure out if we'"'"'re automating OS installation for a system or a profile\n#if $getVar('"'"'system_name'"'"'\,'"'""'"') != '\'\''\n <keep_install_network config:type="boolean">false</keep_install_network>\n#else\n <keep_install_network config:type="boolean">true</keep_install_network>\n#end if,' > /tmp/networking.xml
64+
5365
LINE=$(cat -n /tmp/networking.xml | grep '</net-udev>' | awk {' print $1 '})
5466
TOP=$(echo $(($LINE-2)))
5567
head -n $TOP /tmp/networking.xml > /var/lib/cobbler/snippets/suse-15.4-networking.xml
@@ -62,7 +74,9 @@ TOP="" && LINE="" && rm -f /tmp/networking.xml
6274
Edit the `script_wrapper.xml` snippet included with Cobbler in order to complete the OpenSUSE Leap 15.4 installation:
6375

6476
```shell
65-
cat /var/lib/cobbler/snippets/suse_scriptwrapper.xml | grep -v network_needed | grep -v interpreter > suse-15.4_scriptwrapper.xml
77+
cat /var/lib/cobbler/snippets/suse_scriptwrapper.xml | \
78+
grep -v network_needed | \
79+
grep -v interpreter > suse-15.4_scriptwrapper.xml
6680
```
6781

6882
Configure the Cobbler Profile to use the new autoinstall (`autoyast.xml`) template:
@@ -80,13 +94,12 @@ cobbler system add --name SUSE-15.4 --profile SUSE-15.4-x86_64 --netboot-enabled
8094
Finally, sync up Cobbler:
8195

8296
```shell
83-
systemctl restart cobblerd && sleep 10
8497
cobbler sync
8598
```
8699

87100
## Tips & Troubleshooting
88101

89-
1. The [Cobbler 3.3.6 Beginner's Guide](/_posts/2024-10-16-Cobbler-3.3.6-Beginners-Guide.md) **Tips & Troubleshooting** section contains some basic recommendations and limitations of Cobbler which will not be repeated here.
102+
1. The [Cobbler 3.3.7 Beginner's Guide](/_posts/2024-10-16-Cobbler-v3.3.7-Beginners-Guide.md) **Tips & Troubleshooting** section contains some basic recommendations and limitations of Cobbler which will not be repeated here.
90103

91104
1. References
92105

_posts/2024-11-02-Cobbler-3.3.6-Ubuntu-Deployment-Guide.md renamed to _posts/2024-12-11-Cobbler-v3.3.7-Ubuntu-Deployment-Guide.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
layout: post
3-
title: Cobbler (v3.3.6) Ubuntu Deployment Guide
3+
title: Cobbler (v3.3.7) Ubuntu Deployment Guide
44
author: Sus-Admin
55
summary: Deploying Ubuntu 20.04, 22.04, and 24.04 via PXE network boot.
66
tags: cobbler
77
---
88

9-
This guide assumes that you have a Fedora 34 server or workstation configured to run Cobbler v3.3.6 server as described in the [Cobbler 3.3.6 Beginner's guide](/_post/2024-10-16-Cobbler-3.3.6-Beginners-Guide.md).
9+
This guide assumes that you have a Fedora 34 server or workstation system configured to run Cobbler v3.3.7 similarly to the [Cobbler v3.3.7 Beginner's guide](/_posts/2024-10-16-Cobbler-v3.3.7-Beginners-Guide.md).
1010

1111
## Table of Contents
1212
{:.no_toc}
@@ -16,19 +16,19 @@ This guide assumes that you have a Fedora 34 server or workstation configured to
1616

1717
## Objective
1818

19-
Starting where the [Beginner's guide](/_post/2024-10-16-Cobbler-3.3.6-Beginners-Guide.md) left off, further configure the Cobbler v3.3.6 server to deploy the latest 3 releases of Ubuntu Server LTS *(Ubuntu 20.04, 22.04, 24.04)* via PXE network boot, using the same system and network environment. This guide assumes that you still have `selinux` and `firewalld` configured and enabled as described in the Beginner's guide.
19+
Starting where the [Beginner's guide](/_posts/2024-10-16-Cobbler-v3.3.7-Beginners-Guide.md) left off, further configure the Cobbler v3.3.7 server to deploy the latest 3 releases of Ubuntu Server LTS *(Ubuntu 20.04, 22.04, 24.04)* via PXE network boot, using the same system and network environment. This guide assumes that you still have `selinux` and `firewalld` configured and enabled as described in the Beginner's guide.
2020

2121
### Caveats
2222

23-
- Until the release of Ubuntu 20.04, Canonical used the same [debian-installer](/_posts/2024-10-29-Cobbler-3.3.6-Debian-Deployment-Guide.md) from Debian, including the "preseed" autoinstallation model; starting with Ubuntu 20.04, Canonical switched to using their [in-house](https://github.com/canonical/cloud-init) [`cloud-init`](https://cloud-init.io/) solution.
23+
- Until the release of Ubuntu 20.04, Canonical used the same [debian-installer](/_posts/2024-12-02-Cobbler-v3.3.7-Debian-Deployment-Guide.md) from Debian, including the "preseed" autoinstallation model; starting with Ubuntu 20.04, Canonical switched to using their [in-house](https://github.com/canonical/cloud-init) [`cloud-init`](https://cloud-init.io/) solution.
2424

2525
- Ubuntu did offer compatability/support with the *debian-installer/preseed* autoinstallation model in the [Ubuntu 20.04 Legacy](https://cdimage.ubuntu.com/ubuntu-legacy-server/releases/20.04/release/) release.
2626

2727
- This guide only provides procedures for deploying Ubuntu systems using `cloud-init`.
2828

2929
## Cobbler Server Prep
3030

31-
Cobbler v3.3.6 does not come with a sample template for the `cloud-init` autoinstall files, so create that before getting started, as well as some Cobbler sync-triggers to correct the bootloader configurations for compatability with `cloud-init`.
31+
Cobbler v3.3.7 does not come with a sample template for the `cloud-init` autoinstall files, so create that before getting started, as well as some Cobbler sync-triggers to correct the bootloader configurations for compatability with `cloud-init`.
3232

3333
### Dependencies
3434

@@ -464,7 +464,7 @@ cobbler sync
464464
465465
## Tips & Troubleshooting
466466

467-
1. The [Cobbler 3.3.6 Beginner's Guide](/_posts/2024-10-16-Cobbler-3.3.6-Beginners-Guide.md) **Tips & Troubleshooting** section contains some basic recommendations and limitations of Cobbler which will not be repeated here.
467+
1. The [Cobbler 3.3.7 Beginner's Guide](/_posts/2024-10-16-Cobbler-v3.3.7-Beginners-Guide.md) **Tips & Troubleshooting** section contains some basic recommendations and limitations of Cobbler which will not be repeated here.
468468

469469
1. More info on `cloud-init`
470470

_posts/2024-11-03-Cobbler-3.3.6-XCP-ng-Deployment-Guide.md renamed to _posts/2024-12-11-Cobbler-v3.3.7-XCP-ng-Deployment-Guide.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
layout: post
3-
title: Cobbler (v3.3.6) XCP-ng Deployment Guide
3+
title: Cobbler (v3.3.7) XCP-ng Deployment Guide
44
author: Sus-Admin
5-
summary: Deploying XCP-ng v8.2.1 via PXE network boot.
5+
summary: Deploying XCP-ng v8.2.1 (or 8.3) via PXE network boot.
66
tags: cobbler
77
---
88

9-
This guide assumes that you have a Fedora 34 server or workstation configured to run Cobbler v3.3.6 server as described in the [Cobbler 3.3.6 Beginner's guide](/_post/2024-10-16-Cobbler-3.3.6-Beginners-Guide.md).
9+
This guide assumes that you have a Fedora 34 server or workstation system configured to run Cobbler v3.3.7 similarly to the [Cobbler v3.3.7 Beginner's guide](/_posts/2024-10-16-Cobbler-v3.3.7-Beginners-Guide.md).
1010

1111
## Table of Contents
1212
{:.no_toc}
@@ -16,7 +16,7 @@ This guide assumes that you have a Fedora 34 server or workstation configured to
1616

1717
## Objective
1818

19-
Starting where the [Beginner's guide](/_post/2024-10-16-Cobbler-3.3.6-Beginners-Guide.md) left off, further configure the Cobbler v3.3.6 server to deploy XCP-ng v8.2.1 via PXE network boot, using the same system and network environment with the exception of reconfiguring the **PXE Client** VM to have **64 GB HDD** in order to meet the due to the [minimum requirements](https://docs.xcp-ng.org/installation/requirements/) of XCP-ng 8.2.1. This guide assumes that you still have `selinux` and `firewalld` configured and enabled as described in the Beginner's guide.
19+
Starting where the [Beginner's guide](/_posts/2024-10-16-Cobbler-v3.3.7-Beginners-Guide.md) left off, further configure the Cobbler v3.3.7 server to deploy XCP-ng v8.2.1 via PXE network boot, using the same system and network environment with the exception of reconfiguring the **PXE Client** VM to have **64 GB HDD** in order to meet the due to the [minimum requirements](https://docs.xcp-ng.org/installation/requirements/) of XCP-ng 8.2.1. This guide assumes that you still have `selinux` and `firewalld` configured and enabled as described in the Beginner's guide.
2020

2121
### Caveats
2222

@@ -26,7 +26,7 @@ Starting where the [Beginner's guide](/_post/2024-10-16-Cobbler-3.3.6-Beginners-
2626

2727
## Cobbler Server Prep
2828

29-
Cobbler v3.3.6 is not natively designed to support XCP-ng v8.2.1 and will require some code changes in order to import the distro properly. Some Cobbler sync-triggers will also be required to correct the kernel command line parameters in the bootloader configs.
29+
Cobbler v3.3.7 is not natively designed to support XCP-ng v8.2.1 and will require some code changes in order to import the distro properly. Some Cobbler sync-triggers will also be required to correct the kernel command line parameters in the bootloader configs.
3030

3131
### Dependencies
3232

@@ -426,7 +426,7 @@ Now the "XCP-alt" System created above will boot the *alternate kernel* over PXE
426426
427427
## Tips & Troubleshooting
428428
429-
1. The [Cobbler 3.3.6 Beginner's Guide](/_posts/2024-10-16-Cobbler-3.3.6-Beginners-Guide.md) **Tips & Troubleshooting** section contains some basic recommendations and limitations of Cobbler which will not be repeated here.
429+
1. The [Cobbler 3.3.7 Beginner's Guide](/_posts/2024-10-16-Cobbler-v3.3.7-Beginners-Guide.md) **Tips & Troubleshooting** section contains some basic recommendations and limitations of Cobbler which will not be repeated here.
430430
431431
1.
432432

0 commit comments

Comments
 (0)