mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-02 19:11:20 +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
|
||||
runtime: yes
|
||||
content: |
|
||||
[Service]
|
||||
Requires=coreos-setup-environment.service
|
||||
After=coreos-setup-environment.service
|
||||
[Unit]
|
||||
Description=Cloudinit from EC2 metadata
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
EnvironmentFile=/etc/environment
|
||||
ExecStart=/usr/bin/coreos-cloudinit -from-url=http://169.254.169.254/latest/user-data
|
||||
- name: ec2-c10n.service
|
||||
runtime: yes
|
||||
@ -36,6 +40,7 @@ coreos:
|
||||
|
||||
write_files:
|
||||
- path: /etc/systemd/system/etcd.service.d/10-oem.conf
|
||||
contents: |
|
||||
permissions: 0644
|
||||
content: |
|
||||
[Service]
|
||||
Environment=ETCD_PEER_ELECTION_TIMEOUT=1200
|
||||
|
Loading…
x
Reference in New Issue
Block a user