#cloud-config

---
coreos:
  etcd2:
    advertise-client-urls: http://$private_ipv4:2379
    listen-client-urls: http://0.0.0.0:2379,http://0.0.0.0:4001
  units:
  - name: etcd2.service
    command: start
  - name: home-core-fleet.mount
    command: start
    content: |
      [Mount]
      What=fleet
      Where=/home/core/fleet
      Type=9p
      Options=rw,trans=virtio,version=9p2000.L
  update:
    reboot-strategy: off
