Sha256: 119644f7d6ac7de740c424e210dde4f08aa2f75f0e5b4fc59c5f85692d01c173

Contents?: true

Size: 447 Bytes

Versions: 5

Compression:

Stored size: 447 Bytes

Contents

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

Version data entries

5 entries across 2 versions & 2 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-1cf2a8db4ccb/plugins/provisioners/docker/cap/redhat/docker_configure_auto_start.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-272fb27e0536/plugins/provisioners/docker/cap/redhat/docker_configure_auto_start.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-309e896975d1/plugins/provisioners/docker/cap/redhat/docker_configure_auto_start.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-b421af58e8b3/plugins/provisioners/docker/cap/redhat/docker_configure_auto_start.rb
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/bundler/gems/vagrant-1e28f1ac31e7/plugins/provisioners/docker/cap/redhat/docker_configure_auto_start.rb