Sha256: 363c4424a1c5fdeb2a212ef0cd8c5e9f3372972a9c67252606f555bdf4c15530

Contents?: true

Size: 332 Bytes

Versions: 2

Compression:

Stored size: 332 Bytes

Contents

module VagrantPlugins
  module Vocker
    module Cap
      module Debian
        module DockerConfigureVagrantUser
          def self.docker_configure_vagrant_user(machine)
            machine.communicate.sudo("usermod -a -G docker #{machine.config.ssh.username || "vagrant"}")
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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