Recommended changes from review of #1568
- Make Resources an `interface{}` to support arbitrary yaml
- Remove `wwctl resource` as incompatible with arbitrary yaml
- Revert changes to host overlay templates
- Remove NFS mount options from warewulf.conf
- Replace NFS support / resource prefix with "fstab" resource
- Move resources to profiles
- Migrate warewulf.conf mounts to nodes.conf with `wwctl upgrade`
- Add documentation
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
@@ -103,6 +103,9 @@ func Test_listFields(t *testing.T) {
|
||||
},
|
||||
},
|
||||
},
|
||||
Resources: map[string]Resource{
|
||||
"resource": "resvalue",
|
||||
},
|
||||
},
|
||||
},
|
||||
fields: []string{
|
||||
@@ -142,7 +145,7 @@ func Test_listFields(t *testing.T) {
|
||||
"NetDevs[default].Tags[nettag]",
|
||||
"Tags[tag]",
|
||||
"PrimaryNetDev",
|
||||
"Resources",
|
||||
"Resources[resource]",
|
||||
},
|
||||
},
|
||||
"profile": {
|
||||
@@ -157,6 +160,9 @@ func Test_listFields(t *testing.T) {
|
||||
},
|
||||
},
|
||||
},
|
||||
Resources: map[string]Resource{
|
||||
"resource": "resvalue",
|
||||
},
|
||||
},
|
||||
fields: []string{
|
||||
"Profiles",
|
||||
@@ -193,7 +199,7 @@ func Test_listFields(t *testing.T) {
|
||||
"NetDevs[default].Tags[nettag]",
|
||||
"Tags[tag]",
|
||||
"PrimaryNetDev",
|
||||
"Resources",
|
||||
"Resources[resource]",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user