19 lines
505 B
Bash
19 lines
505 B
Bash
#!/bin/bash
|
|
|
|
echo -n 'Host: '
|
|
read drachost
|
|
|
|
echo -n 'Username: '
|
|
read dracuser
|
|
|
|
echo -n 'Password: '
|
|
read -s dracpwd
|
|
echo
|
|
|
|
echo 'Downloading avctKVM.jar from host'
|
|
curl -k -O "https://$drachost/software/avctKVM.jar" > avctKVM.jar
|
|
|
|
echo 'Executing JKVM Client...'
|
|
java -cp avctKVM.jar -Djava.library.path=./lib com.avocent.idrac.kvm.Main ip=$drachost kmport=5900 vport=5900 user=$dracuser passwd=$dracpwd apcp=1 version=2 vmprivilege=true "helpurl=https://$drachost:443/help/contents.html"
|
|
|
|
rm avctKVM.jar |