Merge branch 'guestfish'
[tridge/autocluster.git] / autocluster
index 11cb1de554373afa4ca0b1d26e6ddc05acfd817c..b95d5073c6f7a29f1c35c725fb43aad7d7bcde9d 100755 (executable)
@@ -542,7 +542,11 @@ EOF
     # wait for the install to finish
     if ! waitfor $KVMLOG/serial.$NAME "$KS_DONE_MESSAGE" $CREATE_BASE_TIMEOUT ; then
        $VIRSH destroy $NAME
-       die "Failed to create base image $DISK"
+       die "Failed to create base image ${DISK} after waiting for ${CREATE_BASE_TIMEOUT} seconds.
+You may need to increase the value of CREATE_BASE_TIMEOUT.
+Alternatively, the install might have completed but KS_DONE_MESSAGE
+(currently \"${KS_DONE_MESSAGE}\")
+may not have matched anything at the end of the kickstart output."
     fi
     
     $VIRSH destroy $NAME