Sha256: ceded29996df7c8efc83d13cc7f656a520d437a842bf036f0b2f90f0de129cdf

Contents?: true

Size: 436 Bytes

Versions: 3

Compression:

Stored size: 436 Bytes

Contents

module VagrantPlugins
  module Vocker
    module Cap
      module Debian
        module DockerConfigureAutoStart
          def self.docker_configure_auto_start(machine)
            if ! machine.communicate.test('grep -q \'\-r=true\' /etc/init/docker.conf')
              machine.communicate.sudo("sed -i.bak 's/docker -d/docker -d -r=true/' /etc/init/docker.conf ")
            end
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vocker-0.4.1 lib/vocker/cap/debian/docker_configure_auto_start.rb
vocker-0.4.0 lib/vocker/cap/debian/docker_configure_auto_start.rb
vocker-0.3.3 lib/vocker/cap/debian/docker_configure_auto_start.rb