Skip to content
Snippets Groups Projects
Commit b39b32a4 authored by Rong Zhang's avatar Rong Zhang Committed by k8s-ci-robot
Browse files

Fix set coreos hostname failed (#3599)

need set hostname by kubeadm
parent dbe99b59
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,6 @@
command: "hostnamectl set-hostname {{inventory_hostname}}"
register: hostname_changed
when:
- ansible_hostname == 'localhost'
- ansible_distribution in ['openSUSE Tumbleweed'] or ansible_os_family in ['CoreOS', 'Container Linux by CoreOS']
- override_system_hostname
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment