Updated template

Update for 18.04 and new AMI management plugin
pull/5/head
Tiago Faria 2018-08-29 10:30:25 +01:00 committed by GitHub
parent 68c41244f6
commit 5928051ccd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -14,13 +14,13 @@
"source_ami_filter": { "source_ami_filter": {
"filters": { "filters": {
"virtualization-type": "hvm", "virtualization-type": "hvm",
"name": "ubuntu/images/*ubuntu-xenial-16.04-amd64-server-*", "name": "ubuntu/images/*ubuntu-bionic-18.04-amd64-server-*",
"root-device-type": "ebs" "root-device-type": "ebs"
}, },
"owners": ["099720109477"], "owners": ["099720109477"],
"most_recent": true "most_recent": true
}, },
"instance_type": "t2.micro", "instance_type": "t2.medium",
"ami_regions": "{{user `destination_regions`}}", "ami_regions": "{{user `destination_regions`}}",
"ssh_username": "ubuntu", "ssh_username": "ubuntu",
"ami_name": "MISP-{{timestamp}}", "ami_name": "MISP-{{timestamp}}",
@ -40,7 +40,7 @@
{ {
"type": "shell", "type": "shell",
"execute_command" : "echo '{{user `ssh_pass`}}' | {{ .Vars }} sudo -E -S sh '{{ .Path }}'", "execute_command" : "echo '{{user `ssh_pass`}}' | {{ .Vars }} sudo -E -S sh '{{ .Path }}'",
"script": "/home/ubuntu/misp/bootstrap", "script": "/home/ubuntu/misp/bootstrap-new",
"pause_before": "10s" "pause_before": "10s"
} }
], ],