Reverse search order for ide disks for cloud-init allocation. #56
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reverses the order of the cloud-init ide drive selection to start at low numbers instead of starting at high numbers.
This solves an issue where when building an image with cloud-init enabled, proxmox reports the following:
Closes Plugin assigns bad ide drive to cloud-init #55
Can be tested by cloning: https://github.com/VoightCloud/CopperCentos7.git
Modify username to your proxmox packer username, modify token to your proxmox token, modify node to your node, modify proxmox_url to your proxmox_url, upload Centos-7-x86_64-Everything-2009.iso to your local:iso/ storage.
cd into packer directory and type
./build.sh