From: Holger Levsen Date: Thu, 21 Feb 2013 10:59:39 +0000 (+0100) Subject: show some system stats after installation X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=5a589118da083d9a6d6c75b2b4538a44b0d9b5af;p=profitbricks%2Fjenkins-build-scripts.git show some system stats after installation --- diff --git a/pxe_install.sh b/pxe_install.sh index 1ddb789..a286456 100755 --- a/pxe_install.sh +++ b/pxe_install.sh @@ -16,13 +16,13 @@ fi 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 @@ -50,5 +50,12 @@ if ! $(nc -z $TARGET_HOST 22 ) ; then 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 +