2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-18 04:10:46 +00:00

Fix the lacking of osimage defining in test case test-sigint-genimage.sh

This commit is contained in:
GONG Jie
2016-10-26 16:17:58 +08:00
parent 359063aa61
commit af0a9ab241

View File

@ -132,7 +132,7 @@ OSIMAGE="$(lsdef -t osimage | grep -- -netboot-compute | head -n 1)"
[ -n "${OSIMAGE}" ]
exit_if_bad "$?" "Diskless osimage not found"
lsdef -t osimage "${OSIMAGE}" -z | sed -e 's/^.*:$/compute_9999z/'
lsdef -t osimage "${OSIMAGE}" -z | sed -e 's/^.*:$/compute_9999z/' | mkdef -z
# The new osimage name is compute_9999z
OSIMAGE="compute_9999z"