Fix ramdisk element for openSUSE
The openSUSE base image does not contain /sbin/dhclient-script, install it. Change-Id: Ib0db15139930d42bd60213437ef63d7915d8134a
This commit is contained in:
parent
f8081bbd83
commit
5fb556f44d
1 changed files with 8 additions and 0 deletions
8
elements/ramdisk/install.d/20-install-dhcp-client
Executable file
8
elements/ramdisk/install.d/20-install-dhcp-client
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
set -eux
|
||||
|
||||
DISTRO=`lsb_release -si` || true
|
||||
|
||||
if [ "openSUSE project" = "$DISTRO" ]; then
|
||||
install-packages dhcp-client
|
||||
fi
|
Loading…
Reference in a new issue