Skip to content

Commit

Permalink
Use localhost for cobbler client to avoid hairpins
Browse files Browse the repository at this point in the history
  • Loading branch information
cbosdo committed Oct 9, 2023
1 parent 2f8db7a commit 86581b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions spacewalk/setup/bin/spacewalk-setup-cobbler
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def manipulate_cobbler_settings(config_dir: str, settings_yaml: str, fqdn: str):

filecontent["pxe_just_once"] = True
filecontent["redhat_management_server"] = fqdn or socket.getfqdn()
filecontent["client_use_localhost"] = True
yaml_dump = yaml.safe_dump(filecontent)
with open(full_path, "w") as settings_file:
settings_file.write(yaml_dump)
Expand Down
1 change: 1 addition & 0 deletions spacewalk/setup/spacewalk-setup.changes.cbosdo.tag-cleanup
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Use localhost for Cobbler client to avoid hairpins

0 comments on commit 86581b7

Please sign in to comment.