Slight cleanup of the linux system

This commit is contained in:
Mitchell Hashimoto 2010-09-09 00:09:18 -07:00
parent 123e87c13c
commit bd70a18e68
1 changed files with 1 additions and 5 deletions

View File

@ -48,7 +48,7 @@ module Vagrant
def mount_shared_folder(ssh, name, guestpath)
ssh.exec!("sudo mkdir -p #{guestpath}")
mount_folder(ssh, name, guestpath)
ssh.exec!("sudo chown #{config.ssh.username} #{guestpath}")
ssh.exec!("sudo chown #{vm.env.config.ssh.username} #{guestpath}")
end
def mount_nfs(ip, folders)
@ -109,10 +109,6 @@ module Vagrant
sleep sleeptime
end
end
def config
vm.env.config
end
end
class Linux < Base