mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-03 03:21:43 +02:00
Merge branch 'etcd-refactor' of https://github.com/polvi/coreos-overlay into etcd-refactor
Conflicts: coreos-base/oem-ami/files/cloud-config.yml
This commit is contained in:
commit
d9e5aa902f
@ -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