Skip to content

Commit

Permalink
Merge pull request #465 from jaywcarman/powervs_remove_migratable_par…
Browse files Browse the repository at this point in the history
…am_from_vm_provision

Remove 'migratable' param from PVS VM provision
  • Loading branch information
agrare committed Aug 14, 2023
2 parents bcbece5 + 45b4b69 commit 370063c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ def prepare_for_clone
else
specs['server_name'] = get_option(:vm_target_name)
specs['memory'] = get_option_last(:vm_memory).to_i
specs['migratable'] = get_option_last(:migratable) == 1
specs['processors'] = get_option_last(:entitled_processors).to_f
specs['proc_type'] = get_option_last(:instance_type)
specs['pin_policy'] = get_option_last(:pin_policy)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,6 @@
:display: :edit
:default: 1
:data_type: :integer
:migratable:
:values:
false: 0
true: 1
:description: Migratable
:required: false
:display: :edit
:default: true
:data_type: :boolean
:user_script:
:description: Upload
:required: false
Expand Down
6 changes: 0 additions & 6 deletions lib/tasks_private/power_virtual_servers.rake
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ namespace :vcr do
"processors" => 0.25,
"memory" => 2,
"key_pair_name" => "test-ssh-key-no-comment",
"migratable" => true,
"pin_policy" => "none",
"networks" => [
IbmCloudPower::PVMInstanceAddNetwork.new(
Expand All @@ -123,7 +122,6 @@ namespace :vcr do
"processors" => 0.25,
"memory" => 2,
"key_pair_name" => "test-ssh-key-with-comment",
"migratable" => false,
"pin_policy" => "soft",
"placement_group" => "test-placement-group-affinity",
"networks" => [
Expand All @@ -141,7 +139,6 @@ namespace :vcr do
"processors" => 1,
"memory" => 4,
"key_pair_name" => "test-ssh-key-with-comment-line-breaks",
"migratable" => true,
"pin_policy" => "hard",
"networks" => [
IbmCloudPower::PVMInstanceAddNetwork.new(
Expand All @@ -158,7 +155,6 @@ namespace :vcr do
"processors" => 0.50,
"memory" => 2,
"key_pair_name" => "test-ssh-key-no-comment",
"migratable" => true,
"pin_policy" => "none",
"shared_processor_pool" => "test_pool",
"networks" => [
Expand All @@ -176,7 +172,6 @@ namespace :vcr do
"processors" => 0.75,
"memory" => 4,
"key_pair_name" => "test-ssh-key-no-comment",
"migratable" => true,
"pin_policy" => "none",
"networks" => [
IbmCloudPower::PVMInstanceAddNetwork.new(
Expand All @@ -196,7 +191,6 @@ namespace :vcr do
"processors" => 1.25,
"memory" => 6,
"key_pair_name" => "test-ssh-key-no-comment",
"migratable" => true,
"pin_policy" => "none",
"placement_group" => "test-placement-group-anti-affinity",
"networks" => [
Expand Down

0 comments on commit 370063c

Please sign in to comment.