Skip to content

Commit

Permalink
Fix wrong IP address set on susemanager-tftpsync-recv.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
meaksh committed Feb 19, 2025
1 parent 77488c4 commit 7562534
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Fix wrong IP address set on susemanager-tftpsync-recv.conf

Check failure on line 2 in containers/proxy-httpd-image/proxy-httpd-image.changes.meaksh.master-fix-tftpsync-recv-ip-replacement

View workflow job for this annotation

GitHub Actions / Changelog tests

Empty line in file containers/proxy-httpd-image/proxy-httpd-image.changes.meaksh.master-fix-tftpsync-recv-ip-replacement#L2

Check failure on line 2 in containers/proxy-httpd-image/proxy-httpd-image.changes.meaksh.master-fix-tftpsync-recv-ip-replacement

View workflow job for this annotation

GitHub Actions / Changelog tests

Wrong capitalization in file containers/proxy-httpd-image/proxy-httpd-image.changes.meaksh.master-fix-tftpsync-recv-ip-replacement#L2

Check failure on line 2 in containers/proxy-httpd-image/proxy-httpd-image.changes.meaksh.master-fix-tftpsync-recv-ip-replacement

View workflow job for this annotation

GitHub Actions / Changelog tests

Wrong spacing in file containers/proxy-httpd-image/proxy-httpd-image.changes.meaksh.master-fix-tftpsync-recv-ip-replacement#L2

Check failure on line 2 in containers/proxy-httpd-image/proxy-httpd-image.changes.meaksh.master-fix-tftpsync-recv-ip-replacement

View workflow job for this annotation

GitHub Actions / Changelog tests

Empty line in file containers/proxy-httpd-image/proxy-httpd-image.changes.meaksh.master-fix-tftpsync-recv-ip-replacement#L2

Check failure on line 2 in containers/proxy-httpd-image/proxy-httpd-image.changes.meaksh.master-fix-tftpsync-recv-ip-replacement

View workflow job for this annotation

GitHub Actions / Changelog tests

Wrong capitalization in file containers/proxy-httpd-image/proxy-httpd-image.changes.meaksh.master-fix-tftpsync-recv-ip-replacement#L2

Check failure on line 2 in containers/proxy-httpd-image/proxy-httpd-image.changes.meaksh.master-fix-tftpsync-recv-ip-replacement

View workflow job for this annotation

GitHub Actions / Changelog tests

Wrong spacing in file containers/proxy-httpd-image/proxy-httpd-image.changes.meaksh.master-fix-tftpsync-recv-ip-replacement#L2
8 changes: 4 additions & 4 deletions containers/proxy-httpd-image/uyuni-configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,10 @@ def insert_under_line(file_path, line_to_match, line_to_insert):
) as file:
require_ipv4 = ""
require_ipv6 = ""
if len(proxy_ipv4) > 0:
require_ipv4 = f"Require ip {proxy_ipv4}"
if len(proxy_ipv6) > 0:
require_ipv6 = f"Require ip {proxy_ipv6}"
if len(server_ipv4) > 0:
require_ipv4 = f"Require ip {server_ipv4}"
if len(server_ipv6) > 0:
require_ipv6 = f"Require ip {server_ipv6}"
file.write(
f"""<Directory "/srv/www/tftpsync">
<RequireAny>
Expand Down

0 comments on commit 7562534

Please sign in to comment.