How to edit /susemanager/src/mgr_bootstrap_data.py
Hello, I would like to modify the file "/susemanager/src/mgr_bootstrap_data.py". Unfortunately it gives an un-welcoming message to viewers: # # DO NOT EDIT !!! # How would I go about changing it? It contains references to "/srv/www/htdocs/" which I would like to update to either the token "documentroot" from "/usr/share/rhn/config-defaults/rhn.conf" (hardcode it differently for Enterprise Linux systems). Best wishes, Stefan
Hello, I would like to modify the file "/susemanager/src/mgr_bootstrap_data.py". Unfortunately it gives an un-welcoming message to viewers: # # DO NOT EDIT !!! # How would I go about changing it? It contains references to "/srv/www/htdocs/" which I would like to update to either the token "documentroot" from "/usr/share/rhn/config-defaults/rhn.conf" (hardcode it differently for Enterprise Linux systems). Best wishes, Stefan
Hi Stefan. I think the message is for those who is trying to modify the file on the system directly as the modifications will be rewritten with package update. Victor ________________________________ From: Stefan Bluhm <opensuse.org@bluhm-de.com> Sent: Tuesday, December 21, 2021 6:20:05 PM To: devel <devel@lists.uyuni-project.org> Subject: How to edit /susemanager/src/mgr_bootstrap_data.py Hello, I would like to modify the file "/susemanager/src/mgr_bootstrap_data.py". Unfortunately it gives an un-welcoming message to viewers: # # DO NOT EDIT !!! # How would I go about changing it? It contains references to "/srv/www/htdocs/" which I would like to update to either the token "documentroot" from "/usr/share/rhn/config-defaults/rhn.conf" (hardcode it differently for Enterprise Linux systems). Best wishes, Stefan
Hi correct. Changing this in a Pull Request is ok. Am Dienstag, 21. Dezember 2021, 16:27:10 CET schrieb Victor Zhestkov:
Hi Stefan. I think the message is for those who is trying to modify the file on the system directly as the modifications will be rewritten with package update.
Victor ________________________________ From: Stefan Bluhm <opensuse.org@bluhm-de.com> Sent: Tuesday, December 21, 2021 6:20:05 PM To: devel <devel@lists.uyuni-project.org> Subject: How to edit /susemanager/src/mgr_bootstrap_data.py
Hello,
I would like to modify the file "/susemanager/src/mgr_bootstrap_data.py". Unfortunately it gives an un-welcoming message to viewers:
# # DO NOT EDIT !!! #
How would I go about changing it? It contains references to "/srv/www/htdocs/" which I would like to update to either the token "documentroot" from "/usr/share/rhn/config-defaults/rhn.conf" (hardcode it differently for Enterprise Linux systems).
Best wishes,
Stefan
-- Regards Michael Calmer -------------------------------------------------------------------------- Michael Calmer SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, D-90409 Nuernberg T: +49 (0) 911 74053 0 F: +49 (0) 911 74053575 - e-mail: Michael.Calmer@suse.com -------------------------------------------------------------------------- SUSE Software Solutions Germany GmbH, GF: Ivo Totev (HRB 36809, AG Nürnberg)
Oh, I was thinking too complicated... I thought it is being generated by a make file or during package build... Thank you ----- Ursprüngliche Mail ----- Von: "Michael Calmer" <mc@suse.de> An: "devel" <devel@lists.uyuni-project.org> Gesendet: Dienstag, 21. Dezember 2021 16:43:24 Betreff: Re: How to edit /susemanager/src/mgr_bootstrap_data.py Hi correct. Changing this in a Pull Request is ok. Am Dienstag, 21. Dezember 2021, 16:27:10 CET schrieb Victor Zhestkov:
Hi Stefan. I think the message is for those who is trying to modify the file on the system directly as the modifications will be rewritten with package update.
Victor ________________________________ From: Stefan Bluhm <opensuse.org@bluhm-de.com> Sent: Tuesday, December 21, 2021 6:20:05 PM To: devel <devel@lists.uyuni-project.org> Subject: How to edit /susemanager/src/mgr_bootstrap_data.py
Hello,
I would like to modify the file "/susemanager/src/mgr_bootstrap_data.py". Unfortunately it gives an un-welcoming message to viewers:
# # DO NOT EDIT !!! #
How would I go about changing it? It contains references to "/srv/www/htdocs/" which I would like to update to either the token "documentroot" from "/usr/share/rhn/config-defaults/rhn.conf" (hardcode it differently for Enterprise Linux systems).
Best wishes,
Stefan
-- Regards Michael Calmer -------------------------------------------------------------------------- Michael Calmer SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, D-90409 Nuernberg T: +49 (0) 911 74053 0 F: +49 (0) 911 74053575 - e-mail: Michael.Calmer@suse.com -------------------------------------------------------------------------- SUSE Software Solutions Germany GmbH, GF: Ivo Totev (HRB 36809, AG Nürnberg)
participants (3)
-
Michael Calmer
-
Stefan Bluhm
-
Victor Zhestkov