diskimage-builder/elements/ramdisk/install.d/20-install-dhcp-client
Ryan Brady 4ca059f9d9 Use $DISTRO_NAME instead of local lsb_release
The $DISTRO_NAME var is now set in all of the OS elements
in environment.d.  This patch removes the call to
lsb_release and instead uses the $DISTRO_NAME variable.

Change-Id: I7088eb88b6a3611fef5a21a6b62975876549465f
2014-06-26 16:47:21 -04:00

7 lines
115 B
Bash
Executable file

#!/bin/bash
set -eux
set -o pipefail
if [ "opensuse" = "$DISTRO_NAME" ]; then
install-packages dhcp-client
fi