Skip to content

Commit

Permalink
Revert "set hostname in sonic role"
Browse files Browse the repository at this point in the history
This reverts commit 7d8d29c.
  • Loading branch information
iljarotar committed Oct 21, 2024
1 parent ad35c4b commit bae9d3c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions partition/roles/sonic/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@
- sonic_nameservers is defined
- metal_stack_switch_os_is_sonic

- name: set hostname
hostname:
name: "{{ inventory_hostname }}"

- name: Check mandatory variables on non-empty sonic_ports are set
assert:
fail_msg: "default port configuration is necessary on non-empty sonic_ports"
Expand Down

0 comments on commit bae9d3c

Please sign in to comment.