# 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