content instead of contents

This commit is contained in:
Alex Polvi 2014-03-17 16:22:20 -07:00
parent e6b4539b92
commit 34af23e3a3

View File

@ -15,11 +15,15 @@ coreos:
- name: ec2-cloudinit.service - name: ec2-cloudinit.service
runtime: yes runtime: yes
content: | content: |
[Service]
Requires=coreos-setup-environment.service
After=coreos-setup-environment.service
[Unit] [Unit]
Description=Cloudinit from EC2 metadata Description=Cloudinit from EC2 metadata
[Service] [Service]
Type=oneshot Type=oneshot
EnvironmentFile=/etc/environment
ExecStart=/usr/bin/coreos-cloudinit -from-url=http://169.254.169.254/latest/user-data ExecStart=/usr/bin/coreos-cloudinit -from-url=http://169.254.169.254/latest/user-data
- name: ec2-c10n.service - name: ec2-c10n.service
runtime: yes runtime: yes
@ -36,6 +40,7 @@ coreos:
write_files: write_files:
- path: /etc/systemd/system/etcd.service.d/10-oem.conf - path: /etc/systemd/system/etcd.service.d/10-oem.conf
contents: | permissions: 0644
content: |
[Service] [Service]
Environment=ETCD_PEER_ELECTION_TIMEOUT=1200 Environment=ETCD_PEER_ELECTION_TIMEOUT=1200