Bug #801 ยป 0003-Strip-carriage-returns-from-all-partition-tables.patch
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
|