English
« Back to projectatomic.io
Ask Your Question
0

Network broken in vagrant

asked 2014-07-30 06:52:31 +0000

paolo antinori gravatar image

Hi, the lack

biosdevname-* : Udev helper for naming devices per BIOS names

Breaks Vagrant strategy for network configuration:

bash: line 2: /usr/sbin/biosdevname: No such file or directory

The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed!

/usr/sbin/biosdevname --policy=all_ethN -i bash: line 2: /usr/sbin/biosdevname: No such file or directory

Stdout from the command:

Do you have instructions to how to add the missing package?

cheers

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-10-12 19:27:05 +0000

updated 2014-10-12 20:00:58 +0000

On Mac OSX Mavericks I modified this file: /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.3//plugins/guests/fedora/cap/configure_networks.rb

from:

... machine.communicate.sudo("/usr/sbin/biosdevname -d | grep Kernel | cut -f2 -d: | sed -e 's/ //;'") do |_, result|

... machine.communicate.sudo("/usr/sbin/biosdevname --policy=allethN -i #{interfacename}") do |_, result|

to:

... machine.communicate.sudo("/sbin/biosdevname -d | grep Kernel | cut -f2 -d: | sed -e 's/ //;'") do |_, result|

... machine.communicate.sudo("/sbin/biosdevname --policy=allethN -i #{interfacename}") do |_, result|

Hope this helps

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2014-07-30 06:52:31 +0000

Seen: 5,016 times

Last updated: Oct 12 '14