Skip to content

Instantly share code, notes, and snippets.

@appuchias
Last active January 14, 2024 22:19
Show Gist options
  • Save appuchias/fbd37734854c29e50adeb7821dbb0d5d to your computer and use it in GitHub Desktop.
Save appuchias/fbd37734854c29e50adeb7821dbb0d5d to your computer and use it in GitHub Desktop.
iDRAC6 Virtual Console launcher from JNLP file (Tested in Arch)
#!/bin/sh
sudo archlinux-java set java-8-openjdk/jre
echo "Connecting to iDRAC6"
mv ~/Downloads/viewer.jnlp /tmp/viewer.jnlp
javaws /tmp/viewer.jnlp >> /var/log/iDRAC6.log 2>&1
echo "Connection ended"
sudo archlinux-java set java-18-openjdk
rm /tmp/viewer.jnlp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment