Module: ProxmoxStoragesHelper

Defined in:
app/helpers/proxmox_storages_helper.rb

Overview

You should have received a copy of the GNU General Public License along with ForemanFogProxmox. If not, see <www.gnu.org/licenses/>.

Instance Method Summary collapse

Instance Method Details

#proxmox_storages_types_mapObject



21
22
23
24
25
# File 'app/helpers/proxmox_storages_helper.rb', line 21

def proxmox_storages_types_map
  [OpenStruct.new(id: 'hard_disk', name: 'Hard disk'),
   OpenStruct.new(id: 'cdrom', name: 'CD-ROM'),
   OpenStruct.new(id: 'cloud_init', name: 'Cloud-init')]
end