File: cloud-config.yml

package info (click to toggle)
waagent 2.12.0.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,780 kB
  • sloc: python: 55,011; xml: 3,325; sh: 1,183; makefile: 22
file content (52 lines) | stat: -rw-r--r-- 1,257 bytes parent folder | download | duplicates (7)
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.4
    home-url: https://azure.microsoft.com/
    bug-report-url: https://github.com/coreos/bugs/issues