Slight cleanup of the linux system
This commit is contained in:
parent
123e87c13c
commit
bd70a18e68
|
@ -48,7 +48,7 @@ module Vagrant
|
||||||
def mount_shared_folder(ssh, name, guestpath)
|
def mount_shared_folder(ssh, name, guestpath)
|
||||||
ssh.exec!("sudo mkdir -p #{guestpath}")
|
ssh.exec!("sudo mkdir -p #{guestpath}")
|
||||||
mount_folder(ssh, name, 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
|
end
|
||||||
|
|
||||||
def mount_nfs(ip, folders)
|
def mount_nfs(ip, folders)
|
||||||
|
@ -109,10 +109,6 @@ module Vagrant
|
||||||
sleep sleeptime
|
sleep sleeptime
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def config
|
|
||||||
vm.env.config
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class Linux < Base
|
class Linux < Base
|
||||||
|
|
Loading…
Reference in New Issue