Build discovery ramdisk using dracut

Removes the busybox install in the discovery ramdisk element (it
should be handled by the ramdisk element anyway) and adds the
appropriate dib option to use dracut.
This commit is contained in:
Ben Nemec 2014-10-23 13:25:22 -04:00
parent 107f4371ea
commit 343d6b8494
3 changed files with 1 additions and 7 deletions

View File

@ -1,4 +1,3 @@
busybox
curl
dmidecode
fdisk

View File

@ -1,6 +0,0 @@
#!/bin/bash
set -eu
set -o pipefail
install-packages busybox

View File

@ -152,6 +152,7 @@ function discovery-ramdisk {
ramdisk-image-create \
-a $NODE_ARCH \
-o $DISCOVERY_NAME \
--ramdisk-element dracut-ramdisk \
$NODE_DIST $DISCOVERY_IMAGE_ELEMENT \
$DIB_COMMON_ELEMENTS \
2>&1 | tee dib-discovery.log