2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-10-20 14:45:41 +00:00
Files
xcat-core/xCAT/postscripts
Daniel Hilst d6c2a0f5dc refactor(xcatdsklspost): put the /xcatpost cleanup in one routine
The decision to remove the postscripts from /xcatpost sits inline in the tail of
xcatdsklspost, where nothing can drive it without a management node and a real
download. A test of that decision has to grep the source of the script instead.

Move the decision into append_xcatpost_cleanup, above the
XCATDSKLSPOST_SOURCE_ONLY guard, so a test can source the script and call the
routine against a scratch directory. The routine takes the mypostscript path and
the xcatpost directory, and emits the same text as before for every value of
site.cleanupxcatpost.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
(cherry picked from commit 7c884cfe2f)
2026-09-24 13:22:06 +00:00
..
2024-05-07 16:19:25 +02:00
2018-11-15 17:12:55 +08:00
2016-07-21 13:27:40 -04:00
2016-08-15 08:50:49 -04:00
2024-05-07 16:43:07 +02:00
2016-07-21 13:27:40 -04:00
2022-08-15 10:16:22 -04:00
2020-06-04 10:00:56 -04:00
2020-06-04 10:00:56 -04:00
2016-07-20 11:40:27 -04:00
2012-11-23 02:29:54 +00:00
2012-11-23 02:31:37 +00:00
2018-07-06 04:46:25 -04:00
2022-08-15 10:16:22 -04:00
2018-11-15 17:12:55 +08:00
2018-11-15 17:12:55 +08:00
2018-11-15 17:12:55 +08:00
2023-02-28 15:43:03 -05:00
2018-11-15 17:12:55 +08:00
2022-08-15 10:16:22 -04:00
2018-11-15 17:12:55 +08:00
2014-11-04 21:43:02 -05:00
2016-07-21 13:27:40 -04:00
2016-07-21 13:27:40 -04:00
2018-11-15 17:12:55 +08:00