I have deployed a CoreOS standealone server with VMware image follow this guide to experience CoreOS.
After deploy success, I found that my CoreOS only enable Docker service, without etcd and fleet service running. Although I know how to use systemd to run etcd and fleet service manually. And I also know use a proper cloud-config can install CoreOS in which etcd and fleet service start automatically.
But I want to know that:
- Is it possible to place a unit file in
/etc/systemd/system
to make systemd starts etcd service automatically? - If can, what is the content of the unit file?
- If cannot, what is the other way?
Thanks