Include communicator on call

This commit is contained in:
Chris Roberts 2018-10-01 08:43:49 -07:00
parent 2c7c38e3bb
commit 11b0d58fa0
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ module VagrantPlugins
restart_command = "service network restart"
if systemd?
if systemd?(comm)
if systemd_networkd?(comm)
restart_command = "systemctl restart systemd-networkd.service"
elsif systemd_controlled?(comm, "NetworkManager.service")