From 5a589118da083d9a6d6c75b2b4538a44b0d9b5af Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 21 Feb 2013 11:59:39 +0100 Subject: [PATCH] show some system stats after installation --- pxe_install.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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 + -- 2.39.5