summaryrefslogtreecommitdiff
path: root/scripts/vyatta-grub-setup
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2010-02-05 16:41:30 -0800
committerBob Gilligan <gilligan@vyatta.com>2010-02-05 16:41:30 -0800
commit743b1d4931d9794add3b3f1f55448e31caae2bde (patch)
tree01004dfedc7396f3da4da6453bd49ea7b2f329f6 /scripts/vyatta-grub-setup
parent91452c86d9a5183d4d99e79365b71cf633033427 (diff)
downloadvyatta-cfg-system-743b1d4931d9794add3b3f1f55448e31caae2bde.tar.gz
vyatta-cfg-system-743b1d4931d9794add3b3f1f55448e31caae2bde.zip
Bugfix 5120: Use biosdevname to generate the canonical name for an interface.
Network interfaces are discovered at boot time in non-deterministic order, so their names are non-deterministic. The vyatta_net_name script is responsible for ensuring that network interface names are changed to match their Vyatta config file entry when a match based on MAC address is found. With this change, when a match is not found, we use the biosdevname tool to to find the canonical name for an interface, then change the interface's name to that name. This ensures that NICs are named in a deterministic and systemmatic fashion.
Diffstat (limited to 'scripts/vyatta-grub-setup')
0 files changed, 0 insertions, 0 deletions