Skip to content

Commit 21c7cfe

Browse files
committed
add custom cpu and memory to instance
1 parent 7a1efaa commit 21c7cfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ocne2/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
boot_volume_size_in_gbs: "{{ item.value.boot_volume_size_in_gbs | default(50) | int }}"
1616
shape: "{{ instance_shape }}"
1717
shape_config:
18-
ocpus: "{{ instance_ocpus }}"
19-
memory_in_gbs: "{{ instance_memory }}"
18+
ocpus: "{{ item.value.instance_ocpus | default(instance_ocpus) }}"
19+
memory_in_gbs: "{{ item.value.instance_memory | default(instance_memory) }}"
2020
create_vnic_details:
2121
assign_public_ip: true
2222
hostname_label: "{{ item.value.instance_name | default('instance-'~timestamp) }}"

0 commit comments

Comments
 (0)