lib/kontena/machine/digital_ocean/cloudinit.yml in kontena-plugin-digitalocean-0.2.0 vs lib/kontena/machine/digital_ocean/cloudinit.yml in kontena-plugin-digitalocean-0.2.1
- old
+ new
@@ -25,17 +25,39 @@
nameserver 172.17.43.1
nameserver 8.8.8.8
nameserver 8.8.4.4
coreos:
units:
- - name: 10-weave.network
+ - name: etcd2.service
+ command: start
+ enable: true
+ content: |
+ [Unit]
+ Description=Kontena etcd 2.0
+ After=docker.service
+ After=kontena-agent.service
+ Requires=docker.service
+ [Service]
+ Restart=always
+ RestartSec=5
+ ExecStart=/usr/bin/docker logs --tail=10 -f kontena-etcd
+ - name: 50-docker.network
+ mask: true
+ - name: 50-docker-veth.network
+ mask: true
+ - name: zz-default.network
runtime: false
content: |
+ # default should only match real network interfaces
[Match]
- Type=bridge
- Name=weave*
+ Name=eth*
[Network]
+ DHCP=yes
+
+ [DHCP]
+ UseMTU=true
+ UseDomains=true
- name: kontena-agent.service
command: start
enable: true
content: |
[Unit]