From 97dd9e0469ebf9256d2c5b1847345211692304b8 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Mon, 2 Apr 2018 12:08:06 -0700 Subject: [PATCH] Adjust priority of network configuration file for debian guests This adjusts the priority of the network configuration file from 99 to 50 making it easier for customized configuration. Fixes #9592 --- 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 f48bd4601..d53358eb3 100644 --- a/plugins/guests/debian/cap/configure_networks.rb +++ b/plugins/guests/debian/cap/configure_networks.rb @@ -61,7 +61,7 @@ module VagrantPlugins "renderer" => NETPLAN_DEFAULT_RENDERER, "ethernets" => ethernets}} remote_path = upload_tmp_file(comm, np_config.to_yaml) - dest_path = "#{NETPLAN_DIRECTORY}/99-vagrant.yaml" + dest_path = "#{NETPLAN_DIRECTORY}/50-vagrant.yaml" comm.sudo(["mv -f '#{remote_path}' '#{dest_path}'", "chown root:root '#{dest_path}'", "chmod 0644 '#{dest_path}'",