Merge pull request #9646 from chrisroberts/e-net-conf-prio

Adjust priority of network configuration file for debian guests
This commit is contained in:
Chris Roberts 2018-04-04 16:00:12 -07:00 committed by GitHub
commit d5479a1ea3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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}'",