We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64b6482 commit 5fd7752Copy full SHA for 5fd7752
ami.json
@@ -11,7 +11,7 @@
11
"region": "{{user `region`}}",
12
"source_ami_filter": {
13
"filters": {
14
- "name": "amzn-ami-hvm-*-gp2",
+ "name": "amzn2-ami-hvm-*-gp2",
15
"architecture": "x86_64",
16
"owner-alias": "amazon",
17
"root-device-type": "ebs",
@@ -20,6 +20,7 @@
20
"sriov-net-support": "simple",
21
"virtualization-type": "hvm"
22
},
23
+ "owners": ["137112412989"],
24
"most_recent": true
25
26
"instance_type": "c5.xlarge",
@@ -39,6 +40,7 @@
39
40
"inline": [
41
"sudo yum -y clean all",
42
"sudo yum -y upgrade",
43
+ "sudo yum search java",
44
"sudo yum install -y java-1.8.0-openjdk-devel",
45
"sudo yum remove -y java-1.7.0-openjdk",
46
"sudo /usr/sbin/alternatives --config java && sudo /usr/sbin/alternatives --config javac",
0 commit comments