Include communicator on call
This commit is contained in:
parent
2c7c38e3bb
commit
11b0d58fa0
|
@ -31,7 +31,7 @@ module VagrantPlugins
|
||||||
|
|
||||||
restart_command = "service network restart"
|
restart_command = "service network restart"
|
||||||
|
|
||||||
if systemd?
|
if systemd?(comm)
|
||||||
if systemd_networkd?(comm)
|
if systemd_networkd?(comm)
|
||||||
restart_command = "systemctl restart systemd-networkd.service"
|
restart_command = "systemctl restart systemd-networkd.service"
|
||||||
elsif systemd_controlled?(comm, "NetworkManager.service")
|
elsif systemd_controlled?(comm, "NetworkManager.service")
|
||||||
|
|
Loading…
Reference in New Issue