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:
parent
e5b6271e85
commit
97dd9e0469
|
@ -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}'",
|
||||
|
|
Loading…
Reference in New Issue