guests/arch: fix configuring multiple network interfaces fails

This commit is contained in:
Satoshi Matsumoto 2017-01-02 15:32:23 +09:00
parent 9493901e0c
commit 829b995225
No known key found for this signature in database
GPG Key ID: AA4A7EF68B627D07
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 &&