Skip to content

Commit

Permalink
Set sf_fqdn in same line in /etc/hosts
Browse files Browse the repository at this point in the history
The NetworkManager was raising a warning:

    bad address at /etc/hosts line 9

This commit is improving generating of /etc/hosts.

Change-Id: I98f309bdcb43993c7eec1af0d9ef91367418bb1e
  • Loading branch information
danpawlik committed Jan 21, 2025
1 parent e491fab commit 01b337a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cli/cmd/dev/microshift/static/local-setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@
ansible.builtin.blockinfile:
path: /etc/hosts
block: |
{{ microshift_ip }} {{ microshift_fqdn }}
{{ microshift_ip }} {{ sf_fqdn }}
{{ microshift_ip }} {{ microshift_fqdn }} {{ sf_fqdn }}
become: yes

0 comments on commit 01b337a

Please sign in to comment.