* 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
Closes-bug: #1533652
Partial-bug: #1533239
Change-Id: I18d8a8350f134c73dc7a83202facf6ee7b4fc6f9
(cherry picked from commit 64f89160a361967e4ea32d12c25c6a14c72a01ba)
Reviewed: https:/ /review. openstack. org/268148 /git.openstack. org/cgit/ openstack/ fuel-main/ commit/ ?id=44635570b2a b49b1261f40137b 5271261a454ade
Committed: https:/
Submitter: Jenkins
Branch: stable/8.0
commit 44635570b2ab49b 1261f40137b5271 261a454ade
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 e4ea32d12c25c6a 14c72a01ba)
(cherry picked from commit 64f89160a361967