Blob Blame History Raw
From 995c43dd0cb0e365e46304d98587e1759923576e Mon Sep 17 00:00:00 2001
From: Jaroslaw Gorny <jaroslaw.gorny@gmail.com>
Date: Fri, 25 May 2018 00:06:20 +0200
Subject: [PATCH] Fix issue 9592 when systemd-networkd is used by Debian guest

---
 plugins/guests/debian/cap/configure_networks.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/guests/debian/cap/configure_networks.rb b/plugins/guests/debian/cap/configure_networks.rb
index 6ba4c2ca94..fcc907a25a 100644
--- a/plugins/guests/debian/cap/configure_networks.rb
+++ b/plugins/guests/debian/cap/configure_networks.rb
@@ -97,7 +97,7 @@ def self.configure_networkd(machine, interfaces, comm, networks)
           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}'",