Project

General

Profile

Bug #801 ยป 0003-Strip-carriage-returns-from-all-partition-tables.patch

Frank Sweetser, 03/29/2011 07:35 PM

View differences:

app/models/host.rb
# returns the host correct disk layout, custom or common
def diskLayout
disk.empty? ? ptable.layout : disk.gsub("\r","")
disk.empty? ? ptable.layout.gsub("\r","") : disk.gsub("\r","")
end
# returns a configuration template (such as kickstart) to a given host
    (1-1/1)