mirror of https://github.com/MISP/misp-cloud
parent
68c41244f6
commit
5928051ccd
|
@ -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"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue