Merge pull request #8165 from kaorimatz/fix-arch-multiple-networks

guests/arch: fix configuring multiple network interfaces fails
This commit is contained in:
Chris Roberts 2017-02-09 17:41:09 -08:00 committed by GitHub
commit 0c307476fa
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ module VagrantPlugins
comm.upload(f.path, remote_path)
end
commands << <<-EOH.gsub(/^ {14}/, '')
commands << <<-EOH.gsub(/^ {14}/, '').rstrip
# Configure #{network[:device]}
mv '#{remote_path}' '/etc/netctl/#{network[:device]}' &&
ip link set '#{network[:device]}' down &&