Select most recent ISO in VirtualBox scripts
Instead of sorting ISO images under virtualbox/iso/ alphabetically, select the one with the most recent modification timestamp.
This commit is contained in:
parent
6e614c5c36
commit
85ebe12fe6
@ -21,7 +21,7 @@
|
||||
cluster_size=3
|
||||
|
||||
# Get the first available ISO from the directory 'iso'
|
||||
iso_path=`ls -1 iso/*.iso 2>/dev/null | head -1`
|
||||
iso_path=`ls -1t iso/*.iso 2>/dev/null | head -1`
|
||||
|
||||
# Every Fuel Web machine name will start from this prefix
|
||||
vm_name_prefix=fuel-web-
|
||||
|
Loading…
Reference in New Issue
Block a user