Skip to content

Commit df38592

Browse files
committed
fixed /home folder references
1 parent 47183ab commit df38592

File tree

3 files changed

+25
-8
lines changed

3 files changed

+25
-8
lines changed

_posts/2024-10-16-Cobbler-v3.3.6-Beginners-Guide.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ Mount the Fedora 34 Server installation media and run the `cobbler import`
251251
252252
```shell
253253
mkdir /mnt/Fedora
254-
mount -t iso9660 -o loop,ro /home/fedora/Downloads/Fedora-Server-dvd-x86_64-34-1.2.iso /mnt/Fedora
254+
mount -t iso9660 -o loop,ro ~/Downloads/Fedora-Server-dvd-x86_64-34-1.2.iso /mnt/Fedora
255255
cobbler import --name=Fedora34 --arch=x86_64 --path=/mnt/Fedora
256256
```
257257
@@ -299,7 +299,7 @@ cobbler sync
299299
Take similar steps as above to import and autoinstall Fedora 37 Server, being sure to use unique names for Cobbler Distros, Profiles, and Systems, as well as unique MAC addresses and IP addresses for Systems (unless configured differently in `/etc/cobbler/settings.yaml`)
300300
301301
```shell
302-
mount -t iso9660 -o loop,ro /home/fedora/Downloads/Fedora-Server-dvd-x86_64-37-1.7.iso /mnt/Fedora
302+
mount -t iso9660 -o loop,ro ~/Downloads/Fedora-Server-dvd-x86_64-37-1.7.iso /mnt/Fedora
303303
cobbler import --name=Fedora37 --arch=x86_64 --path=/mnt/Fedora
304304
cobbler distro edit --name Fedora37-x86_64 --kernel-options ""
305305
cat /var/lib/cobbler/templates/sample.ks | grep -v "\--useshadow" | grep -v ^install | sed 's,selinux --disabled,selinux --permissive,' | sed 's,rootpw --iscrypted \$default_password_crypted,rootpw --iscrypted \$default_password_crypted\nuser --groups=wheel --name=fedora --password=\$default_password_crypted --iscrypted --gecos="fedora",' | tee /var/lib/cobbler/templates/Fedora37.ks
@@ -574,4 +574,3 @@ tftp 127.0.0.1
574574
cat /etc/httpd/conf/httpd.conf
575575
cat /etc/httpd/conf.d/cobbler.conf
576576
```
577-

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ mount the Debian 12 Bookworm installation media and import the distro into cobbl
9090

9191
```shell
9292
[ -e /mnt/Debian ] || mkdir /mnt/Debian
93-
mount -t iso9660 -o loop,ro /home/fedora/Downloads/debian-12.8.0-amd64-DVD-1.iso /mnt/Debian
93+
mount -t iso9660 -o loop,ro ~/Downloads/debian-12.8.0-amd64-DVD-1.iso /mnt/Debian
9494
cobbler import --name Debian12.8 --path /mnt/Debian
9595
```
9696

@@ -187,7 +187,7 @@ Take similar steps as above, with the inclusion of the netboot "firmware" image
187187

188188
```shell
189189
[ -e /mnt/Debian ] || mkdir /mnt/Debian
190-
mount -t iso9660 -o loop,ro /home/fedora/Downloads/debian-11.11.0-amd64-DVD-1.iso /mnt/Debian
190+
mount -t iso9660 -o loop,ro ~/Downloads/debian-11.11.0-amd64-DVD-1.iso /mnt/Debian
191191
cobbler import --name=Debian11.11 --path=/mnt/Debian
192192

193193
cd /var/www/cobbler/distro_mirror/Debian11.11/dists/bullseye
@@ -270,7 +270,7 @@ wget -O ~/Downloads/debian-stable-initrd.gz http://ftp.us.debian.org/debian/dist
270270
wget -O ~/Downloads/debian-stable-netboot-initrd.gz http://ftp.us.debian.org/debian/dists/stable/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz
271271
wget -O ~/Downloads/debian-stable-vmlinuz http://ftp.us.debian.org/debian/dists/stable/main/installer-amd64/current/images/cdrom/vmlinuz
272272
mkdir /var/www/cobbler/pub/Debian12.8-netboot
273-
cat /home/fedora/Downloads/debian-stable-initrd.gz /home/fedora/Downloads/debian-stable-netboot-initrd.gz > /var/www/cobbler/pub/Debian12.8-netboot/initrd.gz
273+
cat ~/Downloads/debian-stable-initrd.gz ~/Downloads/debian-stable-netboot-initrd.gz > /var/www/cobbler/pub/Debian12.8-netboot/initrd.gz
274274
cp ~/Downloads/debian-stable-vmlinuz /var/www/cobbler/pub/Debian12.8-netboot/vmlinuz
275275
```
276276

_posts/2024-12-11-Cobbler-v3.3.7-OpenSUSE-Deployment-Guide.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Mount the installation media and run the `cobbler import`:
3939

4040
```shell
4141
[ -d /mnt/SUSE ] || mkdir /mnt/SUSE
42-
mount -t iso9660 -o loop,ro /home/fedora/Downloads/openSUSE-Leap-15.6-DVD-x86_64-Media.iso /mnt/SUSE
42+
mount -t iso9660 -o loop,ro ~/Downloads/openSUSE-Leap-15.6-DVD-x86_64-Media.iso /mnt/SUSE
4343
cobbler import --name=SUSE-15.6 --arch=x86_64 --path=/mnt/SUSE
4444
```
4545

@@ -71,7 +71,7 @@ cat /var/lib/cobbler/snippets/networking.xml | \
7171
sed 's,</nameservers>,</nameservers>\n #end if,' | \
7272
sed '/ <net-udev config:type="list">/,/ #if $getVar("system_name","") != ""/c\ \ \ \ #if $getVar("system_name","") != ""\n\ \ \ \ <net-udev config:type="list">' | \
7373
sed -z 's,#end if\n </net-udev>,</net-udev>\n #end if,' | \
74-
tee /var/lib/cobbler/snippets/suse-15.4-networking.xml
74+
tee /var/lib/cobbler/snippets/suse-15.6-networking.xml
7575
```
7676

7777
```shell
@@ -114,6 +114,24 @@ Finally, sync up Cobbler:
114114
cobbler sync
115115
```
116116

117+
## Taking it Further (Leap Micro Deployment)
118+
119+
With OpenSUSE Leap 15 deploying successfully as described above, the Cobbler server is also prepped to deploy OpenSUSE Leap Micro *(v5.5 tested)*
120+
121+
Download the installation media and use the same autoinstall file and options to configure a new Cobbler System for deploying OpenSUSE Leap Micro 5.5
122+
123+
```shell
124+
cd ~/Downloads && wget https://slc-mirror.opensuse.org/distribution/leap-micro/5.5/product/iso/openSUSE-Leap-Micro-5.5-DVD-x86_64-Media.iso
125+
126+
mount -t iso9660 -o loop,ro ~/Downloads/openSUSE-Leap-Micro-5.5-DVD-x86_64-Media.iso /mnt/SUSE
127+
cobbler import --name=Leap-micro-5.5 --arch=x86_64 --path=/mnt/SUSE
128+
129+
cobbler distro edit --name Leap-micro-5.5-x86_64 --kernel-options 'install=$tree'
130+
cobbler profile edit --name Leap-micro-5.5-x86_64 --autoinstall suse-15.6-autoyast.xml
131+
cobbler system add --name Leap-micro --profile Leap-micro-5.5-x86_64 --netboot-enabled true --enable-ipxe false --hostname Leap-micro --interface eth0 --static true --mac-address "aa:bb:cc:dd:ee:ff" --ip-address 10.0.0.15 --gateway 10.0.0.1 --netmask 255.255.255.0 --name-servers "10.0.0.1 1.1.1.1 10.0.0.10"
132+
cobbler sync
133+
```
134+
117135
## Tips & Troubleshooting
118136

119137
1. The [Cobbler 3.3.6 Beginner's Guide](/blog/2024/Cobbler-v3.3.6-Beginners-Guide/) **Tips & Troubleshooting** section contains some basic recommendations and limitations of Cobbler which will not be repeated here.

0 commit comments

Comments
 (0)