Skip to content

Instantly share code, notes, and snippets.

@rmmartins
Created July 7, 2015 21:12
Show Gist options
  • Save rmmartins/cc681b1eeb131d769a34 to your computer and use it in GitHub Desktop.
Save rmmartins/cc681b1eeb131d769a34 to your computer and use it in GitHub Desktop.
# vim /tmp/cloud-config.yaml
#cloud-config
hostname: CoreOS1
ssh_authorized_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDXq2wdVv3PkauEjXTLcuAKFMhNTGvcSa2ChbcJacgnhpfzRpq1epfvX/M5078e/VDl3IQpjEQeutCJY0idwbD7ft2fNSA8xETYMlirit9AAqIduVWHkK2SDA8Q1JMcuNCopV6+6VkGYDyHufWvHp+WN5yawr4h5m4FawYlY0X02twJjs2eMGd3rZLUbq6wzuX5Lym/AkXGF5eCKOIEc/6bAKzg57qcGdqNTbRXdM7DQO2CstxUFM9m8pYUyp4I5x8zy9rYd8kztpVrd3CLAyVs8u9Sb87Hpnuo8dfPQ9WfJ/v/DMlZOWOdQYqfn44jtHriQfi9/tWCHM/Fc+38Dwij ricardo@martins
coreos:
etcd:
discovery: https://discovery.etcd.io/14b99e8be3992f0f700a818ee469c4a2
addr: 192.168.1.130:4001
peer-addr: 192.168.1.130:7001
units:
- name: etcd.service
command: start
- name: fleet.service
command: start
- name: static.network
content: |
[Match]
Name=enp0s3
[Network]
Address=192.168.1.130/24
Gateway=192.168.1.1
DNS=8.8.8.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment