guests/arch: configure networks should enable device [GH-5737]
This commit is contained in:
parent
fd3e1ff592
commit
4988298b0b
|
@ -65,6 +65,7 @@ BUG FIXES:
|
|||
- communicator/winrm: execute scheduled tasks immediately on Windows XP
|
||||
since elevation isn't required [GH-6195]
|
||||
- communicator/winrm: Hide progress bars from PowerShell v5 [GH-6309]
|
||||
- guests/arch: enable network device after setting it up [GH-5737]
|
||||
- guests/darwin: advanced networking works with more NICs [GH-6386]
|
||||
- guests/debian: graceful shutdown works properly with newer releases [GH-5986]
|
||||
- guests/fedora: Preserve `localhost` entry when changing hostname [GH-6203]
|
||||
|
|
|
@ -27,7 +27,7 @@ module VagrantPlugins
|
|||
|
||||
machine.communicate.upload(temp.path, "/tmp/vagrant_network")
|
||||
machine.communicate.sudo("mv /tmp/vagrant_network /etc/netctl/#{network[:device]}")
|
||||
machine.communicate.sudo("ip link set #{network[:device]} down && netctl start #{network[:device]}")
|
||||
machine.communicate.sudo("ip link set #{network[:device]} down && netctl start #{network[:device]} && netctl enable #{network[:device]}")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue