plugins/guests/arch/cap/configure_networks.rb in vagrant-unbundled-1.9.1.1 vs plugins/guests/arch/cap/configure_networks.rb in vagrant-unbundled-1.9.5.1
- old
+ new
@@ -37,10 +37,10 @@
f.fsync
f.close
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 &&
netctl restart '#{network[:device]}' &&
netctl enable '#{network[:device]}'