Skip to content

Commit 02f2ccd

Browse files
committed
Delete type 4.0
1 parent 449b180 commit 02f2ccd

3 files changed

Lines changed: 1 addition & 4 deletions

File tree

ic-os/components/hostos/guestos/start-guestos.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ source /opt/ic/bin/config.sh
88
node_reward_type=$(get_config_value '.icos_settings.node_reward_type')
99

1010
case "${node_reward_type}" in
11-
type4.0) COUNT=32 ;;
1211
type4.1) COUNT=60 ;;
1312
type4.2) COUNT=15 ;;
1413
type4.3) COUNT=4 ;;

ic-os/components/setupos/install-hostos.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ function resize_partition() {
120120
}
121121

122122
case "${node_reward_type}" in
123-
type4.0) create_guestos_lvs 32 ;;
124123
type4.1) create_guestos_lvs 60 ;;
125124
type4.2) create_guestos_lvs 15 ;;
126125
type4.3) create_guestos_lvs 4 ;;

rs/ic_os/os_tools/guest_vm_runner/src/guest_vm_config.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ fn split_resources_for_type_4(
215215
/* topology */ Topology,
216216
) {
217217
let (memory, vcpus) = match &config.icos_settings.node_reward_type {
218-
Some(val) if val == "type4.0" => (memory / 32, vcpus / 32),
219218
Some(val) if val == "type4.1" => (memory / 60, 2 /* Overcommit vCPUs */),
220219
Some(val) if val == "type4.2" => (memory / 15, 8 /* Overcommit vCPUs */),
221220
Some(val) if val == "type4.3" => (memory / 4, vcpus / 4),
@@ -224,7 +223,7 @@ fn split_resources_for_type_4(
224223
};
225224

226225
let topology = match &config.icos_settings.node_reward_type {
227-
Some(val) if val == "type4.1" || val == "type4.0" => Topology {
226+
Some(val) if val == "type4.1" => Topology {
228227
nr_of_sockets: 1,
229228
nr_of_cores: vcpus,
230229
nr_of_threads: 1,

0 commit comments

Comments
 (0)