Merge pull request #8165 from kaorimatz/fix-arch-multiple-networks
guests/arch: fix configuring multiple network interfaces fails
This commit is contained in:
commit
0c307476fa
|
@ -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 &&
|
||||
|
|
Loading…
Reference in New Issue