Skip to content

Commit 9bacc89

Browse files
committed
Update features install to use SERVER_NAME
1 parent afb1d14 commit 9bacc89

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ga/latest/kernel/helpers/build/configure.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,11 @@ function main() {
186186
# Install needed features
187187
if [ "$FEATURE_REPO_URL" ]; then
188188
curl -k --fail $FEATURE_REPO_URL > /tmp/repo.zip
189-
installUtility install --acceptLicense defaultServer --from=/tmp/repo.zip || rc=$?; if [ $rc -ne 22 ]; then exit $rc; fi
189+
installUtility install --acceptLicense ${SERVER_NAME} --from=/tmp/repo.zip || rc=$?; if [ $rc -ne 22 ]; then exit $rc; fi
190190
rm -rf /tmp/repo.zip
191191
# Otherwise, if features.sh did not run, install server features.
192192
elif [ "$FEATURES_INSTALLED" == "false" ]; then
193-
featureUtility installServerFeatures --acceptLicense defaultServer --noCache
193+
featureUtility installServerFeatures --acceptLicense ${SERVER_NAME} --noCache
194194
find /opt/ibm/wlp/lib /opt/ibm/wlp/bin ! -perm -g=rw -print0 | xargs -0 -r chmod g+rw
195195
fi
196196
fi

ga/latest/kernel/helpers/build/features.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ if [ "$SSL" == "true" ] || [ "$TLS" == "true" ]; then
5656
fi
5757

5858
# Install necessary features using featureUtility
59-
featureUtility installServerFeatures --acceptLicense defaultServer --noCache
59+
featureUtility installServerFeatures --acceptLicense ${SERVER_NAME} --noCache
6060
find /opt/ibm/wlp/lib /opt/ibm/wlp/bin ! -perm -g=rw -print0 | xargs -0 -r chmod g+rw
6161
<<<<<<< HEAD
6262

0 commit comments

Comments
 (0)