mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 21:11:08 +02:00
content instead of contents
This commit is contained in:
parent
e6b4539b92
commit
34af23e3a3
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user