How to edit /susemanager/src/mgr_bootstrap_data.py
![](https://seccdn.libravatar.org/avatar/9df286bd635cdacb23a5bed82b5dc6f1.jpg?s=120&d=mm&r=g)
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
![](https://seccdn.libravatar.org/avatar/9df286bd635cdacb23a5bed82b5dc6f1.jpg?s=120&d=mm&r=g)
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
![](https://seccdn.libravatar.org/avatar/48fbf895b3ec71cc5d479a3894598c38.jpg?s=120&d=mm&r=g)
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
![](https://seccdn.libravatar.org/avatar/e6d0c9f42625f8f9f45b6bd11ffbb77b.jpg?s=120&d=mm&r=g)
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
Sent: Tuesday, December 21, 2021 6:20:05 PM To: devel 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)
![](https://seccdn.libravatar.org/avatar/9df286bd635cdacb23a5bed82b5dc6f1.jpg?s=120&d=mm&r=g)
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"
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
Sent: Tuesday, December 21, 2021 6:20:05 PM To: devel 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