Fix invocation of initialize

Fixes #2229 for me
This commit is contained in:
viq 2013-09-19 11:55:46 +02:00
parent 2c8cc95e79
commit 8fd2337038
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ module VagrantPlugins
5 5
end end
def initialize def initialize(*args)
super
if systemd? if systemd?
@nfs_check_command = "/usr/sbin/systemctl status nfsd" @nfs_check_command = "/usr/sbin/systemctl status nfsd"
@nfs_start_command = "/usr/sbin/systemctl start nfsd rpc-idmapd rpc-mountd rpcbind" @nfs_start_command = "/usr/sbin/systemctl start nfsd rpc-idmapd rpc-mountd rpcbind"