* Backup ifcfg-* files, not remove
* Backup ifcfg-* file only if its really needed
* Check for existing ID_NET_NAME_ONBOARD, ID_NET_NAME_SLOT, ID_NET_NAME_PATH
(in order) in sys net class, and chose first one.
In case of real hardware, anaconda can spawn dracut with ID_NET_NAME_ONBOARD
nic naming. Otherwise, our "Advanced install" logic fetch nic.name by another
key. Its totally brake "Advanced install" feature
Reviewed: https:/ /review. openstack. org/266894 /git.openstack. org/cgit/ openstack/ fuel-main/ commit/ ?id=64f89160a36 1967e4ea32d12c2 5c6a14c72a01ba
Committed: https:/
Submitter: Jenkins
Branch: master
commit 64f89160a361967 e4ea32d12c25c6a 14c72a01ba
Author: alexz <email address hidden>
Date: Wed Jan 13 14:54:40 2016 +0200
Fix 'adminf' fetching logic
* Backup ifcfg-* files, not remove NAME_ONBOARD, ID_NET_NAME_SLOT, ID_NET_NAME_PATH
* Backup ifcfg-* file only if its really needed
* Check for existing ID_NET_
(in order) in sys net class, and chose first one.
In case of real hardware, anaconda can spawn dracut with ID_NET_NAME_ONBOARD
nic naming. Otherwise, our "Advanced install" logic fetch nic.name by another
key. Its totally brake "Advanced install" feature
Closes-bug: #1533652
Partial-bug: #1533239
Change-Id: I18d8a8350f134c 73dc7a83202facf 6ee7b4fc6f9