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
This commit is contained in:
Chris Roberts 2018-04-02 12:08:06 -07:00
parent e5b6271e85
commit 97dd9e0469
1 changed files with 1 additions and 1 deletions

View File

@ -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}'",