diff --git a/playbooks/group_bwcloud.yml b/playbooks/group_bwcloud.yml index e1d5877..7b3e9fc 100644 --- a/playbooks/group_bwcloud.yml +++ b/playbooks/group_bwcloud.yml @@ -8,3 +8,11 @@ name: - linux-headers-cloud-amd64 state: present + - name: Configure cloud-kernel to preserve hostname + copy: + content: | + preserve_hostname: yes + dest: "/etc/cloud/cloud.cfg.d/preserve_hostname.cfg" + owner: root + group: root + mode: u=rw,g=r,o=r