Hello,

The Confluent documentation for OS deployment:

       https://hpc.lenovo.com/users/documentation/confluentosdeploy.html

lists only five commands that need to be run to create a new profile:

# cd /var/lib/confluent/public/os/
# cp -a rhel-8.2-x86_64-default rhel-8.2-x86_64-custom
# cd /var/lib/confluent/private/os/
# cp -a rhel-8.2-x86_64-default rhel-8.2-x86_64-custom
# osdeploy updateboot rhel-8.2-x86_64-custom

However I found I had to edit a number of files to take the initial 
ubuntu-22.04.3-x86_64-default/ profile and create my own 
ubuntu-22.04.3-x86_64-test1/, per the following diffs:

"""
--- ./boot/efi/boot/grub.cfg_dist       2024-01-19 14:56:22.737237565 -0500
+++ ./boot/efi/boot/grub.cfg    2024-01-19 15:17:25.890594011 -0500
@@ -1,5 +1,5 @@
set timeout=5
-menuentry 'Ubuntu 22.04.3 x86_64 (Default Profile)' {
-    linuxefi /kernel quiet osprofile=ubuntu-22.04.3-x86_64-default
+menuentry 'Ubuntu 22.04.3 x86_64 (Test1 Profile)' {
+    linuxefi /kernel quiet osprofile=ubuntu-22.04.3-x86_64-test1
"""

"""
--- ./boot.ipxe_dist    2023-10-31 14:37:15.907232034 -0400
+++ ./boot.ipxe 2024-01-19 15:17:25.891594034 -0500
@@ -1,5 +1,5 @@
#!ipxe
-imgfetch boot/kernel quiet osprofile=ubuntu-22.04.3-x86_64-default 
initrd=addons.cpio initrd=site.cpio initrd=distribution
+imgfetch boot/kernel quiet osprofile=ubuntu-22.04.3-x86_64-test1 
initrd=addons.cpio initrd=site.cpio initrd=distribution
"""

"""
--- ./profile.yaml_dist 2023-10-31 14:37:15.669226704 -0400
+++ ./profile.yaml      2024-01-19 14:57:05.614204808 -0500
@@ -1,3 +1,3 @@
-label: Ubuntu 22.04.3 x86_64 (Default Profile)
-kernelargs: quiet osprofile=ubuntu-22.04.3-x86_64-default
+label: Ubuntu 22.04.3 x86_64 (Test1 Profile)
+kernelargs: quiet osprofile=ubuntu-22.04.3-x86_64-test1
"""

IIRC, I run the "osdeploy updateboot …" command (with my profile name). Did I 
miss something? Should the above files been automatically changed in some 
fashion?

Thanks for any info.

(This is Confluent 3.8.0.)

Regards,
David


_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to