You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you @evgeni for the detailed issue description. As you already know, the Satellite install using katello-backup files will not succeed until the target server's hostname is the same as the source server's hostname. Updating central DNS is not possible in customer environment because most of the time, the target server will be built when the source server is still active. This makes updating /etc/hosts unavoidable. We wanted to give a quick way to get the cloned server up and running with minimal inputs from the user and to make the user less dependent on other teams (network/security) teams to just get a cloned server going. Although this is an easy way I agree that this may not be a preferred standard way of approaching this. I really like the approach you explained here and +1 to doing that!
satellite-clone
currently updates/etc/hosts
unlessoverwrite_etc_hosts
is set tofalse
. I would argue that changing/etc/hosts
(and esp setting127.0.0.1 {{ hostname }} …
should not be done by default./etc/hosts
at all these days: https://bugzilla.redhat.com/show_bug.cgi?id=530343 https://bugzilla.redhat.com/show_bug.cgi?id=668830Thus, instead of the current approach, I would propose to:
overwrite_etc_hosts
tofalse
overwrite_etc_hosts
totrue
if the check fails and they really want to carry on{{ ip }} {{ hostname }}
) instead of overwrite the whole file?@sthirugn as
git blame
says it was you who added this, could you please chime in on the why and whether my ramblings make any sense? ;)The text was updated successfully, but these errors were encountered: