diskimage-builder/elements/ramdisk/install.d/20-install-dhcp-client
Ralf Haferkamp 5fb556f44d Fix ramdisk element for openSUSE
The openSUSE base image does not contain /sbin/dhclient-script, install it.

Change-Id: Ib0db15139930d42bd60213437ef63d7915d8134a
2014-01-23 14:26:11 +01:00

9 lines
136 B
Bash
Executable File

#!/bin/bash
set -eux
DISTRO=`lsb_release -si` || true
if [ "openSUSE project" = "$DISTRO" ]; then
install-packages dhcp-client
fi