Sha256: a00a25b5d339bb99d7857f9391bb58ac6ad7dd79b89e614cc0b7d8195c7ee638

Contents?: true

Size: 368 Bytes

Versions: 2

Compression:

Stored size: 368 Bytes

Contents

module VagrantPlugins
  module Vocker
    module Cap
      module Debian
        module DockerConfigureVagrantUser
          def self.docker_configure_vagrant_user(machine)
            # FIXME: We should make use of the config.ssh.username here
            machine.communicate.sudo("usermod -a -G docker vagrant")
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vocker-0.3.3 lib/vocker/cap/debian/docker_configure_vagrant_user.rb
vocker-0.3.2 lib/vocker/cap/debian/docker_configure_vagrant_user.rb