mirror of
https://gitlab.com/monolithify/base-image-build.git
synced 2024-11-25 11:31:22 +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 |