]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
cobbler: RHEL9 ks fixes
authorDavid Galloway <dgallowa@redhat.com>
Tue, 23 Aug 2022 16:35:48 +0000 (12:35 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 23 Aug 2022 16:35:48 +0000 (12:35 -0400)
The cblr/links path doesn't appear to work in Cobbler3.

The redhat_register snippet also doesn't exist.

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/cobbler/templates/kickstarts/cephlab_rhel.ks

index b1b93cf4d74779213f743b9aa5f167b5cbc32a40..ff75d31d6f5b67e210be04d8e844653412d2b528 100644 (file)
 # System authorization information
 #if int($distro_ver_major) < 9
 auth  --useshadow  --enablemd5
+# Use network installation
+url --url=$tree
 #else
 authselect select minimal
+url --url=http://@@http_server@@/cblr/distro_mirror/@@distro@@
 #end if
 $SNIPPET('cephlab_rhel_disks')
 # Use text mode install
@@ -27,8 +30,6 @@ firstboot --disable
 keyboard us
 # System language
 lang en_US
-# Use network installation
-url --url=$tree
 # If any cobbler repo definitions were referenced in the kickstart profile, include them here.
 $yum_repo_stanza
 # Network information
@@ -75,7 +76,9 @@ $SNIPPET('post_install_kernel_options')
 $SNIPPET('func_register_if_enabled')
 $SNIPPET('download_config_files')
 $SNIPPET('koan_environment')
+#if int($distro_ver_major) < 9
 $SNIPPET('redhat_register')
+#end if
 $SNIPPET('cobbler_register')
 # Enable post-install boot notification
 $SNIPPET('post_anamon')