Fix issue 9592 when systemd-networkd is used by Debian guest

This commit is contained in:
Jaroslaw Gorny 2018-05-25 00:06:20 +02:00
parent dbba41a7ec
commit 995c43dd0c
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ module VagrantPlugins
end
remote_path = upload_tmp_file(comm, net_conf.join("\n"))
dest_path = "#{NETWORKD_DIRECTORY}/99-vagrant.network"
dest_path = "#{NETWORKD_DIRECTORY}/50-vagrant.network"
comm.sudo(["mkdir -p #{NETWORKD_DIRECTORY}",
"mv -f '#{remote_path}' '#{dest_path}'",
"chown root:root '#{dest_path}'",