Actions
Bug #9227
closedRemove ip and mac attributes
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Network
Target version:
-
Description
Currently we are adding ip and mac as 'fake' empty attributes when cloning a host, since these attributes are in interfaces now already. We should just not take them into account for deep_cloning at all
DEPRECATION WARNING: You're trying to create an attribute `mac'. Writing arbitrary attributes on a model is deprecated. Please just use `attr_writer` etc. (called from clone at /home/daniel/workspace/cleanforeman/app/models/host/managed.rb:623)
DEPRECATION WARNING: You're trying to create an attribute `ip'. Writing arbitrary attributes on a model is deprecated. Please just use `attr_writer` etc. (called from clone at /home/daniel/workspace/cleanforeman/app/models/host/managed.rb:623)
Actions