use list of resources in profiles/nodes
access the resource not at node or profile level but in the templates as global variable Signed-off-by: Christian Goll <cgoll@suse.com>
This commit is contained in:
committed by
Jonathon Anderson
parent
5ff27061a3
commit
07c77a63d5
@@ -103,7 +103,6 @@ func EmptyNode() (nodeconf Node) {
|
||||
nodeconf.Ipmi.Tags = map[string]string{}
|
||||
nodeconf.Kernel = new(KernelConf)
|
||||
nodeconf.NetDevs = make(map[string]*NetDev)
|
||||
nodeconf.resource = make(map[string]*RemoteRes)
|
||||
nodeconf.Tags = map[string]string{}
|
||||
return nodeconf
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user