mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-20 05:51:18 +02:00
coreos-base/oem-azure: use cloud-init --oem flag
This commit is contained in:
parent
47fdbb3507
commit
5482bcac59
@ -2,10 +2,6 @@
|
|||||||
|
|
||||||
coreos:
|
coreos:
|
||||||
units:
|
units:
|
||||||
- name: user-cloudinit@var-lib-waagent-CustomData.path
|
|
||||||
command: start
|
|
||||||
runtime: true
|
|
||||||
|
|
||||||
- name: waagent.service
|
- name: waagent.service
|
||||||
command: start
|
command: start
|
||||||
runtime: true
|
runtime: true
|
||||||
@ -19,6 +15,17 @@ coreos:
|
|||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/share/oem/python/bin/python /usr/share/oem/bin/waagent -daemon
|
ExecStart=/usr/share/oem/python/bin/python /usr/share/oem/bin/waagent -daemon
|
||||||
|
|
||||||
|
- name: oem-cloudinit.service
|
||||||
|
command: restart
|
||||||
|
runtime: yes
|
||||||
|
content: |
|
||||||
|
[Unit]
|
||||||
|
Description=Cloudinit from Azure metadata
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/usr/bin/coreos-cloudinit --oem=azure
|
||||||
|
|
||||||
oem:
|
oem:
|
||||||
id: azure
|
id: azure
|
||||||
name: Microsoft Azure
|
name: Microsoft Azure
|
||||||
|
Loading…
x
Reference in New Issue
Block a user