Sha256: 98ef6b7312af1a1d3249141ee24fca03d8e58904d52dfa82eb2b1467ff836880
Contents?: true
Size: 476 Bytes
Versions: 1
Compression:
Stored size: 476 Bytes
Contents
class EditHostBootdiskTemplateDnsSecondary < ActiveRecord::Migration def self.up ConfigTemplate.find_by_name('Boot disk gPXE - host').update_attribute( :template, File.read(File.join(Bootdisk::Engine.root, 'app', 'views', 'bootdisk', 'host_v3.erb'))) end def self.down ConfigTemplate.find_by_name('Boot disk gPXE - host').update_attribute( :template, File.read(File.join(Bootdisk::Engine.root, 'app', 'views', 'bootdisk', 'host_v2.erb'))) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
foreman_bootdisk-1.2.3 | db/migrate/20131021095100_edit_host_bootdisk_template_dns_secondary.rb |