TARGET_HOST=$1
TARGET_MAC=$2
TARGET_DEV=$3
-TMPOUTPUT=$(mktemp)
$(dirname $0)/pxe_riserver_setup.sh $TARGET_HOST $TARGET_MAC $TARGET_DEV install ; \
ipmitool -H ${TARGET_HOST}-ipmi -f /etc/jenkins/$TARGET_HOST.ipmi -U ADMIN chassis power reset ; \
sleep 90 ; \
$(dirname $0)/pxe_riserver_setup.sh $TARGET_HOST $TARGET_MAC $TARGET_DEV localboot
+# doesnt work because ipmitool too frequently segfaults
#ipmitool -H ${TARGET_HOST}-ipmi -f /etc/jenkins/$TARGET_HOST.ipmi -U ADMIN -I lanplus sol activate < /dev/zero | tee $TMPOUTPUT &
set +x
fi
echo
-rm $TMPOUTPUT
+figlet $TARGET_HOST
+echo "successfully installed"
+ssh -i ~/.ssh/id_ritest $TARGET_HOST uname -a
+echo
+ssh -i ~/.ssh/id_ritest $TARGET_HOST "dpkg -l | grep profit | sort -k 50"
+echo
+ssh -i ~/.ssh/id_ritest $TARGET_HOST dpkg -l | grep develop
+