Make stable-interface-names its own element.

Virtual baremetal instances have their NICs show up as ens4
which doesn't play nicely as a default in devtest at
the moment.

Ideally we'd want it to be em1 like real baremetal
(which is why we put this in the baremetal element
to begin with). Turns out the baremetal element is
required in devtest so we can extract the ramdisk and kernel
so lets leave it alone for now and move this elsewhere
until we get a better solution for fake 'baremetal'
testing.

Closes-bug: #1298152
Change-Id: Ia71e1d32b93db0c4c844a6dc1ebcd04ab0c13f05
This commit is contained in:
Dan Prince 2014-03-26 22:11:13 -04:00
parent f93147795c
commit 99c54323a0
3 changed files with 5 additions and 4 deletions

View File

@ -2,8 +2,4 @@ This is the baremetal (IE: real hardware) element.
Does the following:
* Enables stable network interface naming (em1, em2, etc) by
installing the biosdevname and removes any symlinks which may
disable udev rules, etc.
* extracts the kernel and initial ramdisk of the built image.

View File

@ -0,0 +1,5 @@
Does the following:
* Enables stable network interface naming (em1, em2, etc) by
installing the biosdevname and removes any symlinks which may
disable udev rules, etc.