Remove dependency on /etc/lsb-release
/etc/lsb-release doesn't always exist in cloud images and doesn't serve any significant purpose in this element so removing the dependency entirely. Change-Id: I4d972074e6e10fea09a875cbc4ed4e60248d46d9
This commit is contained in:
parent
a9c0a7bf27
commit
94d2cc42c6
@ -3,10 +3,6 @@
|
||||
|
||||
set -e
|
||||
|
||||
# get the cloudimg version
|
||||
source $TMP_MOUNT_PATH/etc/lsb-release
|
||||
echo "Current cloudimg codename is: $DISTRIB_DESCRIPTION $DISTRIB_CODENAME"
|
||||
|
||||
# exit directly if DIB_APT_SOURCES is not defined properly
|
||||
if [ -z "$DIB_APT_SOURCES" ] ; then
|
||||
echo "DIB_APT_SOURCES must be set to the location of a sources.list file you wish to use"
|
||||
|
Loading…
Reference in New Issue
Block a user