Skip to content

Commit

Permalink
Fixes #35794 - change bootdisk_allowed_types type to array
Browse files Browse the repository at this point in the history
The setting value shows up as "subnetfull_host" whereas if we edit the value,
we will be able to see that it is set as "subnet,full_host"

(cherry picked from commit 7c75d4d)
  • Loading branch information
ronlavi2412 authored and stejskalleos committed Dec 21, 2022
1 parent 5de5fb3 commit 0fb5e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/foreman_bootdisk/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class Engine < ::Rails::Engine
description: N_("Installation media files will be cached for full host images")

setting "bootdisk_allowed_types",
type: :string,
type: :array,
default: Setting::Bootdisk.bootdisk_types,
full_name: N_("Allowed bootdisk types"),
description: N_("List of allowed bootdisk types, remove type to disable it")
Expand Down

0 comments on commit 0fb5e43

Please sign in to comment.