lib/kontena/machine/vagrant/Vagrantfile.master.rb.erb in kontena-plugin-vagrant-0.1.1 vs lib/kontena/machine/vagrant/Vagrantfile.master.rb.erb in kontena-plugin-vagrant-0.1.2

- old
+ new

@@ -39,10 +39,11 @@ ExecStartPre=-/usr/bin/docker stop kontena-server-mongo ExecStartPre=-/usr/bin/docker rm kontena-server-mongo ExecStart=/usr/bin/docker run --name=kontena-server-mongo \ --volumes-from=kontena-server-mongo-data \ mongo:3.0 mongod --smallfiles + ExecStop=/usr/bin/docker stop kontena-server-mongo - name: kontena-server-api.service command: start enable: true content: | @@ -69,9 +70,10 @@ -e MONGODB_URI=mongodb://mongodb:27017/kontena_server \ -e VAULT_KEY=${KONTENA_VAULT_KEY} -e VAULT_IV=${KONTENA_VAULT_IV} \ <% if auth_server %>-e AUTH_API_URL=<%= auth_server %><% end %> \ -p 8080:9292 \ kontena/server:${KONTENA_VERSION} + ExecStop=/usr/bin/docker stop kontena-server-api INIT cloud_init_file = Tempfile.new('kontena-master') File.write(cloud_init_file.path, cloud_init)