2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-10-21 15:18:19 +00:00
Files
xcat-core/xCAT-server
Vinícius Ferrão 87c58da302 fix(packimage): take the image directory literally when removing files
The removal of abandoned stages, the removal of the other archive
formats after a publication, and rmimage found their files with glob.
glob splits a pattern at a space, so for an image directory such as
"/install/custom images/node" the first word named another path.
rmtree then removed that directory, with its images. glob also takes a
wildcard character in the path of the image directory as a pattern.

image_dir_entries now lists the image directory itself and matches the
names of its entries, and these removals use it.
2026-10-13 16:51:34 -03:00
..