lib/takelage/docker/container/cli.rb in takelage-0.7.1 vs lib/takelage/docker/container/cli.rb in takelage-0.7.2
- old
+ new
@@ -30,14 +30,13 @@
@username = ENV['USER'] ? ENV['USER'] : 'username'
@gid = Etc.getpwnam(@username).gid
@uid = Etc.getpwnam(@username).uid
- @homedir = ENV['HOME'] ? ENV['HOME'] : ''
+ @homedir = ENV['HOME'] ? ENV['HOME'] : '/tmp'
@workdir = Dir.getwd
@hostname = "#{@docker_image}_#{File.basename(@workdir)}"
- @hostsystem = 'macos'
@timezone = 'Europe/Berlin'
@sockets = {
:'agent-socket' => {
:path => nil,