mirror of
https://github.com/DomiStyle/docker-idrac6.git
synced 2024-12-22 22:05:22 +01:00
Adjust paths
This commit is contained in:
parent
504dfb8e7f
commit
6bdd1b8338
@ -8,7 +8,7 @@ download() {
|
|||||||
path=$2
|
path=$2
|
||||||
if [ ! -f "${path}/${jar}" ]; then
|
if [ ! -f "${path}/${jar}" ]; then
|
||||||
if [ "${IDRAC_VERSION}" -eq 5 ]; then
|
if [ "${IDRAC_VERSION}" -eq 5 ]; then
|
||||||
URI="Java/release"
|
URI="Applications/dellUI/Java/release"
|
||||||
elif [ "${IDRAC_VERSION}" -eq 6 ]; then
|
elif [ "${IDRAC_VERSION}" -eq 6 ]; then
|
||||||
URI="software"
|
URI="software"
|
||||||
fi
|
fi
|
||||||
@ -64,6 +64,6 @@ download Linux_x86_32.jar lib
|
|||||||
download Linux_x86_64.jar lib
|
download Linux_x86_64.jar lib
|
||||||
# download Mac32.jar lib
|
# download Mac32.jar lib
|
||||||
|
|
||||||
args=$(curl -k --cookie Cookie=SessionCookie=${COOKIE} https://${IDRAC_HOST}/Java/jviewer.jnlp | awk -F '[<>]' '/argument/ { print $3 }')
|
args=$(curl -k --cookie Cookie=SessionCookie=${COOKIE} https://${IDRAC_HOST}/Applications/dellUI/Java/jviewer.jnlp | awk -F '[<>]' '/argument/ { print $3 }')
|
||||||
|
|
||||||
exec java -Djava.library.path="lib" -jar JViewer.jar $args
|
exec java -Djava.library.path="lib" -jar JViewer.jar $args
|
||||||
|
Loading…
Reference in New Issue
Block a user