File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
modules/run/artifacts/opt/jboss/container/java/run Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -197,23 +197,11 @@ get_exec_args() {
197
197
fi
198
198
}
199
199
200
- # Ensure that the running UID has the "jboss" passwd metadata
201
- # XXX: Maybe we should make this an entrypoint for the image?
202
- function configure_passwd() {
203
- # OPENJDK-533: this file is only writeable if the image uses the
204
- # nss_wrapper module. ubi8/openjdk-17 does not.
205
- if [ -w " $HOME /passwd" ]; then
206
- sed " /^jboss/s/[^:]*/$( id -u) /3" /etc/passwd > " $HOME /passwd"
207
- fi
208
- }
209
-
210
200
# Start JVM
211
201
startup () {
212
202
# Initialize environment
213
203
load_env
214
204
215
- configure_passwd
216
-
217
205
local args
218
206
cd ${JAVA_APP_DIR}
219
207
if [ " x${JAVA_MAIN_CLASS} " != x ] ; then
You can’t perform that action at this time.
0 commit comments