mirror of
https://gitlab.com/monolithify/base-image-build.git
synced 2024-12-23 05:48:30 +00:00
7 lines
197 B
Bash
7 lines
197 B
Bash
latestRockyDiskPath=$(find "$VM_DISK_OUTPUT_DIR" -type f -printf '%T@ %p\n' |
|
|
sort -rn |
|
|
head -1 |
|
|
sed 's/^[0-9.]\+ //' |
|
|
xargs readlink -f)
|
|
|
|
export latestRockyDiskPath=$latestRockyDiskPath |