Revision 4e85a944
Added by Ohad Levy about 14 years ago
- ID 4e85a9444b734150b1da2afd8b7611f599ed6102
app/models/host.rb | ||
---|---|---|
return klasses
|
||
end
|
||
|
||
def can_be_build?
|
||
return (SETTINGS[:unattended].nil? or SETTINGS[:unattended]) ? build == false : false
|
||
end
|
||
|
||
private
|
||
# align common mac and ip address input
|
||
def normalize_addresses
|
Also available in: Unified diff
fixes #233 - In the "Show" page for a Host, Build link should not be visible when Unattended is false.