mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Merge pull request #2973 from holta/2904
Try box.lan -> box in /etc/hostname, for #2904
This commit is contained in:
commit
dd8d174047
1 changed files with 4 additions and 2 deletions
|
@ -11,8 +11,10 @@
|
|||
state: present
|
||||
when: cloudcfg_test.stat.exists
|
||||
|
||||
- name: 'Turn the crank for systemd: hostnamectl set-hostname "{{ iiab_hostname }}.{{ iiab_domain }}"'
|
||||
command: hostnamectl set-hostname "{{ iiab_hostname }}.{{ iiab_domain }}"
|
||||
- name: 'Set /etc/hostname by running: hostnamectl set-hostname "{{ iiab_hostname }}"'
|
||||
command: hostnamectl set-hostname "{{ iiab_hostname }}"
|
||||
# 2021-08-31: Periods in /etc/hostname fail with some WiFi routers (#2904)
|
||||
# command: hostnamectl set-hostname "{{ iiab_hostname }}.{{ iiab_domain }}"
|
||||
|
||||
#- name: Install /etc/sysconfig/network from template (redhat)
|
||||
# template:
|
||||
|
|
Loading…
Reference in a new issue