Revision 6166c802
Added by Ohad Levy over 12 years ago
- ID 6166c80262c4d7d1ab4c3832713bb02d0cf59d7f
app/models/operatingsystem.rb | ||
---|---|---|
|
||
|
||
class Jail < Safemode::Jail
|
||
allow :name, :media_url, :major, :minor, :family, :to_s, :epel, :==, :release_name, :kernel, :initrd
|
||
allow :name, :media_url, :major, :minor, :family, :to_s, :epel, :==, :release_name, :kernel, :initrd, :pxe_type
|
||
end
|
||
|
||
# As Rails loads an object it casts it to the class in the 'type' field. If we ensure that the type and
|
Also available in: Unified diff
fixes #1063 - can't deploy default pxe menu