From 4e8ae1653e4f90def6728def7c8a0c1726e3fca5 Mon Sep 17 00:00:00 2001 From: penguhyang Date: Tue, 14 Jun 2016 00:46:47 -0400 Subject: [PATCH] powerkvm,diskfull,enable access the installer via ssh --- xCAT-server/share/xcat/install/scripts/pre.pkvm3 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xCAT-server/share/xcat/install/scripts/pre.pkvm3 b/xCAT-server/share/xcat/install/scripts/pre.pkvm3 index 632f08197..098311e58 100755 --- a/xCAT-server/share/xcat/install/scripts/pre.pkvm3 +++ b/xCAT-server/share/xcat/install/scripts/pre.pkvm3 @@ -3,6 +3,10 @@ if [ "$XCATDEBUGMODE" = "1" ] || [ "$XCATDEBUGMODE" = "2" ]; then set -x fi +if [ "$XCATDEBUGMODE" = "2" ]; then + echo 'root:cluster' | chpasswd +fi + #find first available block device (sda or vda likely) #TODO: pick a likely non-SAN target if possible