added remote resources

Signed-off-by: Christian Goll <cgoll@suse.com>
This commit is contained in:
Christian Goll
2024-11-21 17:36:10 +01:00
committed by Jonathon Anderson
parent c3833b5ba0
commit 5ff27061a3
22 changed files with 611 additions and 12 deletions

View File

@@ -47,6 +47,7 @@ func CobraRunE(vars *variables) func(cmd *cobra.Command, args []string) (err err
return fmt.Errorf("partition and disk must be specified")
}
delete(vars.profileConf.Disks, "UNDEF")
vars.profileConf.Ipmi.Tags = vars.profileAdd.IpmiTagsAdd
buffer, err := yaml.Marshal(vars.profileConf)
if err != nil {
return fmt.Errorf("can not marshall nodeInfo: %s", err)