Void requires root access to check service status
Service status check was failing because it was not being run as root. This resulted in vagrant thinking the service was not running, hence it would always try to start nfs rather than updating exports.
This commit is contained in:
parent
5e258cbc7c
commit
b9b9eeac85
|
@ -3,7 +3,7 @@ module VagrantPlugins
|
|||
module Cap
|
||||
class NFS
|
||||
def self.nfs_check_command(env)
|
||||
"/usr/bin/sv status nfs-server"
|
||||
"sudo /usr/bin/sv status nfs-server"
|
||||
end
|
||||
|
||||
def self.nfs_start_command(env)
|
||||
|
|
Loading…
Reference in New Issue