Have cloud-init generate machine-id
Change-Id: I616d1f0c6fd03108730f2773974caa54b9c91306
This commit is contained in:
parent
0e63d43d0b
commit
88a2792eb5
@ -10,3 +10,14 @@
|
||||
systemd:
|
||||
masked: yes
|
||||
name: ssh.socket
|
||||
|
||||
- name: "Cloud-Init | Ensuring cloud-init overrides directory exists"
|
||||
file:
|
||||
path: "/etc/systemd/system/cloud-init-local.service.d"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
- name: "Cloud-Init | Place cloud-init override file"
|
||||
template:
|
||||
src: cloud-init-local-overrides.j2
|
||||
dest: "/etc/systemd/system/cloud-init-local.service.d/override.conf"
|
||||
mode: '0644'
|
||||
|
@ -0,0 +1,2 @@
|
||||
[Service]
|
||||
ExecStart=/bin/systemd-machine-id-setup
|
Loading…
Reference in New Issue
Block a user