I tried dbrlsrv -i -s to skip the repo; still got the error: "No yum repository setting found!"
I'm trying to debug this section of code from drblsrv for Fedora 37:
# Set the fedora repository.if["$installer"="yum"];then# FC1-4: fedora.repo# FC5: fedore-core.repo# FC7: fedora.repoif[-e"/etc/yum.repos.d/fedora-core.repo"];thenFC_CORE_REPO="fedora-core.repo"elif[-e"/etc/yum.repos.d/fedora.repo"];thenFC_CORE_REPO="fedora.repo"else# default one:FC_CORE_REPO="fedora-core.repo"fifiif["$select_repository"="yes"];then# Since we might for to install rpm package, it's better to import RPM key for yum, the default setting of yum enables key check.["$installer"="yum"]&&import_rpm_key# For RH8/9.0/FC1-2, already set $select_repository=yes, so this will be runecho"Now select the $OS_Version repository settings..."setup_${OS_type}_${installer}install_curl_etc_via_${installer}_if_necessaryelse# This only for yum# put drbl-core yum repos conf[!-d"/etc/yum.repos.d"]&&mkdir-p/etc/yum.repos.d# Check if the repository setting exists# TODO: need beter method to check.if[!-f"/etc/yum.repos.d/$FC_CORE_REPO"-a!-f"/etc/yum.repos.d/CentOS-Base.repo"];thenecho"$msg_delimiter_star_line"["$BOOTUP"="color"]&&$SETCOLOR_FAILUREecho"No yum repository setting found!"echo"You must set the yum repository in /etc/yum.repos.d/!"["$BOOTUP"="color"]&&$SETCOLOR_NORMALecho"$msg_delimiter_star_line"echo"$msg_program_stop"exit1fiecho"Use the $OS_Version repository settings in /etc/yum.repos.d/."# backup the old settingecho-n"Seting the DRBL yum repository in /etc/yum.repos.d/... "forifilein$drbl_yum_repo_list;do[-f"/etc/yum.repos.d/$ifile"]&&mv-f/etc/yum.repos.d/$ifile/etc/yum.repos.d/$ifile.drblsavedonecp-f$DRBL_SCRIPT_PATH/setup/yum-repos/drbl*.repo/etc/yum.repos.d/echo"done!"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We have very limited man power in this project, so the support for Fedora is not maintained any more. It's recommended to use Debian or Ubuntu if you want to use DRBL.
Steven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"Can I run CloneZilla Server with DRBL on Debian, but deploy Fedora/CentOS/Rocky image to diskless clients (HPC compute nodes)?" -> It's confusing to me since you have both DRBL and Clonezilla in your question. Let me put in this say:
If you want to use diskless client, then for DRBL, the server and the client will be the exactly same version of GNU/Linux, i.e., server and client is the same OS.
If you want to "deploy" your image using Clonezilla SE, then it can deploy your saved image to your client machine. Say, you can deploy Ubuntu 22.04 image to your client via Clonezilla SE, and after it's deployed, you can boot it into Ubuntu 22.04 in the local disk. In this case, it's nothing to do with diskless mechanism any more.
Steven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for confirming that DRBL uses the host system to deploy a GNU/Linux system; as you said, if DRBL is running on Debian distro, then all the diskless clients will be given that Debian distro.
I have some motivation to get DRBL working on a RHEL branch {RHEL, Fedora, CentOS, Rocky} ; I've submitted a ServerFault question, to see if I can get help with this project.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your feedback. As I mentioned, we have very limited manpower in this project. Therefore we focus on some specific GNU/Linux distributions nowadays. If we have more time in the future, we will try to resume supporting more distributions.
Of course, patches are welcome.
Steven
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
DRBL: drbl-4.5.16-drbl1.noarch.rpm
Operating System: Fedora Linux 37 (Server Edition)
CPE OS Name: cpe:/o:fedoraproject:fedora:37
Kernel: Linux 6.1.8-200.fc37.x86_64
Architecture: x86-64
Hardware Vendor: Dell Computer Corporation
Hardware Model: PowerEdge SC1425
Firmware Version: A03
SELINUX=disabled********.
Installing DRBL for RedHat/Fedora Linux...
Your OS version is:: FC37
*******.
Do you want to set up the proxy server?
[y/N] N*
********.
No yum repository setting found!
You must set the yum repository in /etc/yum.repos.d/!
********.
Program terminated!
Why would a yum repository be needed?
I tried
dbrlsrv -i -sto skip the repo; still got the error: "No yum repository setting found!"I'm trying to debug this section of code from
drblsrvfor Fedora 37:This should work (?).
I created a
drbl.repomanually:Yes, the url is hard coded.
dnf creates
etc_yum.repos.d_drbl-core.repoand point to drbl.repoDoesn't seem necessary to have these two repo's:
Still getting error (as expected): No yum repository setting found!
Last edit: David Geeraerts 2023-01-31
We have very limited man power in this project, so the support for Fedora is not maintained any more. It's recommended to use Debian or Ubuntu if you want to use DRBL.
Steven
Can I run CloneZilla Server with DRBL on Debian, but deploy Fedora/CentOS/Rocky image to diskless clients (HPC compute nodes)?
From what I can understand how DRBL works, it uses the host GNU\Linux to package the image to diskless clients.
"Can I run CloneZilla Server with DRBL on Debian, but deploy Fedora/CentOS/Rocky image to diskless clients (HPC compute nodes)?" -> It's confusing to me since you have both DRBL and Clonezilla in your question. Let me put in this say:
If you want to use diskless client, then for DRBL, the server and the client will be the exactly same version of GNU/Linux, i.e., server and client is the same OS.
If you want to "deploy" your image using Clonezilla SE, then it can deploy your saved image to your client machine. Say, you can deploy Ubuntu 22.04 image to your client via Clonezilla SE, and after it's deployed, you can boot it into Ubuntu 22.04 in the local disk. In this case, it's nothing to do with diskless mechanism any more.
Steven
Thank you for confirming that DRBL uses the host system to deploy a GNU/Linux system; as you said, if DRBL is running on Debian distro, then all the diskless clients will be given that Debian distro.
I have some motivation to get DRBL working on a RHEL branch {RHEL, Fedora, CentOS, Rocky} ; I've submitted a ServerFault question, to see if I can get help with this project.
Thanks for your feedback. As I mentioned, we have very limited manpower in this project. Therefore we focus on some specific GNU/Linux distributions nowadays. If we have more time in the future, we will try to resume supporting more distributions.
Of course, patches are welcome.
Steven