Unfortunately, the documentation didn't consider Ubuntu.  So far we have a bit 
of a limitation in Ubuntu flow where the change you indicated is required, 
since the Ubuntu scripted installation initramfs can't make HTTPS API calls 
through scripting, we fed the image name so it knows where to find install.iso. 
 I have considered the potential of ultimately superseding a significant 
portion of 'addons' material to a Rust executable to avoid varying dependencies 
of whether an environment provides curl, wget, python, a particular variant of 
libcrypt, etc, which would fix this gap, but it hasn't been a strong enough 
case to make it a priority.

So we should amend to note that Ubunntu currently requires profile.yaml be 
tweaked and thes updateboot.
________________________________
From: David Magda <dmagda+x...@ee.torontomu.ca>
Sent: Wednesday, January 24, 2024 9:57 PM
To: xCAT-user@lists.sourceforge.net <xCAT-user@lists.sourceforge.net>
Subject: [External] [xcat-user] profiles with Confluent

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://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fxcat-user&data=05%7C02%7Cjjohnson2%40lenovo.com%7C4a1d1997e7854ce9402208dc1d5173dd%7C5c7d0b28bdf8410caa934df372b16203%7C0%7C0%7C638417482884036609%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=4hj43XSYyMBIYqZSbVwocKBidFlbycKgQ37YUwdUprA%3D&reserved=0<https://lists.sourceforge.net/lists/listinfo/xcat-user>
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to