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