mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Try box.lan -> box in /etc/hostname, for #2904
This commit is contained in:
parent
7f41d8f0de
commit
9106cfbdf0
1 changed files with 4 additions and 2 deletions
|
@ -11,8 +11,10 @@
|
||||||
state: present
|
state: present
|
||||||
when: cloudcfg_test.stat.exists
|
when: cloudcfg_test.stat.exists
|
||||||
|
|
||||||
- name: 'Turn the crank for systemd: hostnamectl set-hostname "{{ iiab_hostname }}.{{ iiab_domain }}"'
|
- name: 'Turn the crank for systemd: hostnamectl set-hostname "{{ iiab_hostname }}"'
|
||||||
command: hostnamectl set-hostname "{{ iiab_hostname }}.{{ iiab_domain }}"
|
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)
|
#- name: Install /etc/sysconfig/network from template (redhat)
|
||||||
# template:
|
# template:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue