2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-08-27 09:06:39 +00:00
Files
xcat-core/xCAT-server
Vinícius Ferrão 2a3af4c34a fix(packimage): report the missing image name instead of a rejected option
packimage rejects -o, -p and -a before anything else runs, which leaves three
things below it that cannot be reached. The branch handling a missing image
name asks for -o and reports "Please specify a os version with the -o flag",
so passing the option is rejected and omitting it is reported as the option
being absent. The check for those options alongside an image name re-tests a
condition already rejected, and the block that built an image from them can no
longer be entered.

Report the missing image name instead, and drop the parts that cannot run.
Passing -o, -p or -a is rejected exactly as before, and packing a named image
is unchanged.
2026-08-08 01:08:52 -03:00
..
2026-04-23 02:01:33 -03:00
2016-07-21 13:27:40 -04:00