Do not ignore user-data and config.rb

Signed-off-by: Chengwei Yang <me@chengweiyang.cn>
Configure an etcd cluster with 3 nodes

Signed-off-by: Chengwei Yang <me@chengweiyang.cn>
Change https to http

Doesn't setup https yet.

Signed-off-by: Chengwei Yang <me@chengweiyang.cn>
Add a 'service' role to etcd cluster and do not start docker daemon

Signed-off-by: Chengwei Yang <me@chengweiyang.cn>
Add worker nodes

Signed-off-by: Chengwei Yang <me@chengweiyang.cn>
Configure every node of etcd cluster

Signed-off-by: Chengwei Yang <me@chengweiyang.cn>
Use host local IP not the virtual ip

Signed-off-by: Chengwei Yang <me@chengweiyang.cn>
Use a single config for all etcd service nodes

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
configure worker nodes ip

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
Add a hello.service

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
use a single configuration for all etcd service nodes

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
Add a HA service

fleetctl start apache-ha@1.service
fleetctl start apache-ha@2.service

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
Do not start on service nodes

fleetctl start apache-ha@{1..2}.service

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
Try X-Fleet instructions

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
Try to ask fleet.socket listen at tcp port

this doesn't work, it still listen only at local unix socket.
Because drop-ins hasn't been released yet. See
https://github.com/coreos/bugs/issues/198

Use write_files works

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
User write_files instead of unleased drop-ins

vagrant up doesn't change /var/lib/coreos-vagrant/vagrantfile-user-data if the
os hasn't been destroyed. So to make changes in user-data take effect, it has to
destroy the os first.

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
Try coreos.oem.*

this will generate file in coreos at /etc/oem-release
https://github.com/coreos/coreos-cloudinit/blob/master/Documentation/cloud-config-oem.md

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>