Add minimal defaults modification based on cnfvar type/mode
authorPlamen Dimitrov <plamen.dimitrov@intra2net.com>
Thu, 12 May 2022 04:00:58 +0000 (07:00 +0300)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Thu, 19 May 2022 09:13:27 +0000 (11:13 +0200)
commitf8e700d775274876ec92c49e884e8beca4456c99
tree1100ba02e1df8ee49fae835fb942c187211cb77d
parenta4a705ccc07fc6345fb34eb7478153f897c95268
Add minimal defaults modification based on cnfvar type/mode

Some cnfvars like providers have different modes and some cnfvars
like nics have differnet types that change a large number of default
child variables. This in turn results in large modification overhead
when changing their type/mode, the largest of which could be handled
by the templates themselves.
src/cnfvar/templates.py