blob: 461dc1a9dcd103fbe91843032bd1288b0ec2bc0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
#cloud-config
coreos:
units:
- name: etcd.service
runtime: true
drop-ins:
- name: 10-oem.conf
content: |
[Service]
Environment=ETCD_PEER_ELECTION_TIMEOUT=1200
- name: etcd2.service
runtime: true
drop-ins:
- name: 10-oem.conf
content: |
[Service]
Environment=ETCD_ELECTION_TIMEOUT=1200
- name: waagent.service
command: start
runtime: true
content: |
[Unit]
Description=Microsoft Azure Agent
Wants=network-online.target sshd-keygen.service
After=network-online.target sshd-keygen.service
[Service]
Type=simple
Restart=always
RestartSec=5s
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:
id: azure
name: Microsoft Azure
version-id: 2.1.0
home-url: https://azure.microsoft.com/
bug-report-url: https://github.com/coreos/bugs/issues
|