mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-28 11:18:51 +00:00
Merge branch 'master' of https://github.com/telekom-security/tpotce
This commit is contained in:
commit
f22ec3a360
2 changed files with 3 additions and 1 deletions
|
@ -5,6 +5,7 @@ packages:
|
||||||
- git
|
- git
|
||||||
|
|
||||||
runcmd:
|
runcmd:
|
||||||
|
- curl -sS --retry 5 https://github.com
|
||||||
- git clone https://github.com/telekom-security/tpotce /root/tpot
|
- git clone https://github.com/telekom-security/tpotce /root/tpot
|
||||||
- /root/tpot/iso/installer/install.sh --type=auto --conf=/root/tpot.conf
|
- /root/tpot/iso/installer/install.sh --type=auto --conf=/root/tpot.conf
|
||||||
- rm /root/tpot.conf
|
- rm /root/tpot.conf
|
||||||
|
|
|
@ -44,6 +44,7 @@ resource "opentelekomcloud_ecs_instance_v1" "ecs_1" {
|
||||||
}
|
}
|
||||||
|
|
||||||
system_disk_size = var.ecs_disk_size
|
system_disk_size = var.ecs_disk_size
|
||||||
|
system_disk_type = "SAS"
|
||||||
security_groups = [opentelekomcloud_networking_secgroup_v2.secgroup_1.id]
|
security_groups = [opentelekomcloud_networking_secgroup_v2.secgroup_1.id]
|
||||||
availability_zone = var.availability_zone
|
availability_zone = var.availability_zone
|
||||||
key_name = var.key_pair
|
key_name = var.key_pair
|
||||||
|
@ -55,7 +56,7 @@ resource "opentelekomcloud_vpc_eip_v1" "eip_1" {
|
||||||
type = "5_bgp"
|
type = "5_bgp"
|
||||||
}
|
}
|
||||||
bandwidth {
|
bandwidth {
|
||||||
name = "bandwidth-${random_id.tpot.b64_std}"
|
name = "bandwidth-${random_id.tpot.b64_url}"
|
||||||
size = var.eip_size
|
size = var.eip_size
|
||||||
share_type = "PER"
|
share_type = "PER"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue