guests/arch: fix configuring multiple network interfaces fails
This commit is contained in:
parent
9493901e0c
commit
829b995225
|
@ -39,7 +39,7 @@ module VagrantPlugins
|
||||||
comm.upload(f.path, remote_path)
|
comm.upload(f.path, remote_path)
|
||||||
end
|
end
|
||||||
|
|
||||||
commands << <<-EOH.gsub(/^ {14}/, '')
|
commands << <<-EOH.gsub(/^ {14}/, '').rstrip
|
||||||
# Configure #{network[:device]}
|
# Configure #{network[:device]}
|
||||||
mv '#{remote_path}' '/etc/netctl/#{network[:device]}' &&
|
mv '#{remote_path}' '/etc/netctl/#{network[:device]}' &&
|
||||||
ip link set '#{network[:device]}' down &&
|
ip link set '#{network[:device]}' down &&
|
||||||
|
|
Loading…
Reference in New Issue