Created
November 23, 2015 17:04
-
-
Save ArKam/bac5d8fdb6c321889e4b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
hostname: coreos-00 | |
users: | |
- name: "vagrant" | |
groups: | |
- "sudo" | |
- "docker" | |
ssh-authorized-keys: | |
- ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6NF8iallvQVp22WDkTkyrtvp9eWW6A8YVr+kz4TjGYe7gHzIw+niNltGEFHzD8+v1I2YJ6oXevct1YeS0o9HZyN1Q9qgCgzUFtdOKLv6IedplqoPkcmF0aYet2PkEDo3MlTBckFXPITAMzF8dJSIFo9D8HfdOV0IAdx4O7PtixWKn5y2hMNG0zQPyUecp4pzC6kivAIhyfHilFR61RGL+GPXQ2MWZWFYbAGjyiYJnAmCP3NOTd0jMZEnDkbUvxhMmBYSdETk1rRgm+R4LOzFUGaHqHDLKLX+FIPKcF96hrucXzcWyLbIbEgE98OHlnVYCzRdK8jlqm8tehUc9c9WhQ== vagrant insecure public key | |
coreos: | |
etcd2: | |
name: coreos-00 | |
initial-cluster: coreos-00=http://$private_ipv4:2380 | |
initial-cluster-state: new | |
initial-cluster-token: etcd-bootstrap | |
initial-advertise-peer-urls: http://$private_ipv4:2380 | |
listen-peer-urls: http://$private_ipv4:2380 | |
advertise-client-urls: http://$private_ipv4:2379 | |
listen-client-urls: http://$public_ipv4:2379 | |
units: | |
- name: 10-dynamic.network | |
runtime: true | |
content: | | |
[Match] | |
Name=en* | |
[Network] | |
DHCP=yes | |
- name: etcd2.service | |
command: start | |
- name: fleet.service | |
command: start | |
update: | |
reboot-strategy: etcd-lock | |
group: stable | |
server: "http://stable.release.core-os.net/amd64-usr/current/coreos_production_iso_image.iso" | |
fleet: | |
metadata: "region=localhost,provider=vagrant,environment=mvp,role=etcd" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment