diskimage-builder/elements
Victor Lowther dbacf3e8df Make pxe_mac accurate in two common cases.
If we are booting pxe booting using syslinux, and it has IPAPPEND 2 in
the boot stanza, then it will append the mac address of the device we
are booting from to the kernel parameters where we can get at it
pretty easily.

If we are booting physical hardware via UEFI over the network, we can
rely on the BootCurrent EFI variable to point at the boot entry for
the NIC we booted from, which will include the MAC address of that
nic.

If neither of those cases are in play, we can just fall back to the
all-physical-devices-with-links code.

This currently uses the Bash 4 support for associative arrays to handle
the netboot-in-UEFI case, if needed I can rewrite it to be Bash 3 compatible.

Change-Id: I5e50e30c60d6d732a09ab61251cbb9be08bb6113
2013-11-17 21:43:59 -06:00
..
base Provide a way of determining init system used 2013-11-15 17:10:38 +02:00
cache-url exit 44 if http 404 is returned 2013-10-23 10:44:47 +01:00
cloud-init-nocloud Make cloud-init-nocloud work cross-platform. 2013-07-11 08:21:51 -07:00
config-applier Remove github references 2013-09-18 08:17:10 -05:00
deploy Make sorting of ramdisk init elements explicit. 2013-11-15 17:18:34 +00:00
deploy-kexec Make sorting of ramdisk init elements explicit. 2013-11-15 17:18:34 +00:00
dhcp-all-interfaces Conditionally add dhcp-all-interfaces 2013-10-15 13:43:50 +13:00
dib-run-parts Set locale for the profiling printf command 2013-09-30 12:10:07 +02:00
disable-selinux/post-install.d Add disable-selinux element. 2013-06-14 09:39:07 +01:00
dkms dkms is unavailable on RHEL and derivatives 2013-08-12 19:07:28 -07:00
dpkg Merge "Adds support for post-install scripts." 2013-04-22 22:18:25 +00:00
dracut-network Dracut regenerate initrd w/ the right kernel 2013-10-17 13:50:54 +01:00
fedora Add mapping for libffi-dev 2013-11-12 20:32:52 +00:00
hwburnin Make sorting of ramdisk init elements explicit. 2013-11-15 17:18:34 +00:00
hwdiscovery Make pxe_mac accurate in two common cases. 2013-11-17 21:43:59 -06:00
local-config Set correct mode for .ssh/authorized_keys files. 2013-05-24 12:01:57 +12:00
mellanox Make sorting of ramdisk init elements explicit. 2013-11-15 17:18:34 +00:00
pip-cache Add a pip-cache element. 2013-08-26 15:17:41 -04:00
pypi Remove github references 2013-09-18 08:17:10 -05:00
ramdisk Remove BUSYBOX variable from ramdisk-defaults 2013-11-11 14:36:15 +01:00
rhel Add mapping for libffi-dev 2013-11-12 20:32:52 +00:00
rpm-distro Allow heat-admin to sudo without tty 2013-11-12 20:26:11 +00:00
selinux-permissive An element for putting SELinux in permissive mode 2013-05-14 11:56:28 +12:00
serial-console Add an element to configure a serial console. 2013-05-10 07:38:31 +12:00
source-repositories Remove github references 2013-09-18 08:17:10 -05:00
ubuntu Check existence of directory 'lost+found' 2013-10-29 18:51:49 +04:00
vm Move textmode forcer to vm element. 2013-09-18 01:57:35 +01:00
yum Add yum element. 2013-08-14 18:26:51 -04:00