Hypervisor uuid check does not work in i3.2xlarge and so packer fails to install discovery-ec2 plugin
Adding following before the check for azure fixed it in me local environment
elif [[ `dmidecode --string system-uuid | head -c 3` == "EC2" ]]; then
# install AWS-specific plugins only if running on AWS
# see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify_ec2_instances.html
sudo bin/elasticsearch-plugin install --batch discovery-ec2
sudo bin/elasticsearch-plugin install --batch repository-s3
Why would you run packer on such a huge instance? The recommended way is to run packer on a small spot instance and then reuse the image on large instances (like i3.2xlarge)
Hypervisor uuid check does not work in i3.2xlarge and so packer fails to install discovery-ec2 plugin Adding following before the check for azure fixed it in me local environment
Maybe we can add this or a better check.