Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
common: make sure to prepend remote iso path
This fixes regression introduced by the commit "common: deduplicate AddCdrom call by appending path to ISOPaths" that was squashed into: "refactor: only add / remove minimul number of cdroms (hashicorp#355)" It assumed that the order is not guaranteed and does not matter, however the documentation says: > If the "iso_url" is defined in addition to the "iso_paths", the > "iso_url" is added to the VM first. This keeps the "iso_url" first > in the boot order by default allowing the boot iso being defined by > the iso_url and the vmware tools iso added from the datastore. So fix the regression. Fixes: hashicorp#386 Signed-off-by: Konstantin Kharlamov <[email protected]>
- Loading branch information