Closed ThomasObenaus closed 6 years ago
msodbcsql17.x86_64 0:17.0.1.1-1 msodbcsql17.x86_64 0:17.1.0.1-1 and mssql-tools.x86_64 0:17.1.0.1-1 are failing
Why is mysql stuff loaded?
Reason: The wrong ami was taken as basis. The packer source_ami_filter:
"source_ami_filter": {
"filters": {
"virtualization-type": "hvm",
"architecture": "x86_64",
"name": "*amzn2-ami-hvm-*",
"block-device-mapping.volume-type": "gp2",
"root-device-type": "ebs"
},
"owners": [
"amazon"
],
"most_recent": true
},
Matches to ami-6bc91714
Because its newer than the official plain amazon linux 2 ami ami-f973ab84
Restricting the name parameter of the source_ami_filter from: "name": "*amzn2-ami-hvm-*"
to "name": "*amzn2-ami-hvm-*gp2"
When installing consul,
sudo yum update -y
is called. During this process the os is not able to load some packages.