From e74ff331abb07ca74e716274fb1e5811e1052419 Mon Sep 17 00:00:00 2001 From: "Michael L. Young" Date: Tue, 24 Aug 2021 09:07:08 -0400 Subject: [PATCH] Show IPMI Interface When Listing All Profiles We added the ability to configure an IPMI interface. We missed displaying the configuration when listing all profiles. --- internal/app/wwctl/profile/list/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/app/wwctl/profile/list/main.go b/internal/app/wwctl/profile/list/main.go index 03b4c91a..bf51ae63 100644 --- a/internal/app/wwctl/profile/list/main.go +++ b/internal/app/wwctl/profile/list/main.go @@ -45,6 +45,7 @@ func CobraRunE(cmd *cobra.Command, args []string) error { fmt.Printf("%-20s %-18s %s\n", profile.Id.Get(), "IpmiNetmask", profile.IpmiNetmask.Print()) fmt.Printf("%-20s %-18s %s\n", profile.Id.Get(), "IpmiGateway", profile.IpmiGateway.Print()) fmt.Printf("%-20s %-18s %s\n", profile.Id.Get(), "IpmiUserName", profile.IpmiUserName.Print()) + fmt.Printf("%-20s %-18s %s\n", profile.Id.Get(), "IpmiInterface", profile.IpmiInterface.Print()) for name, netdev := range profile.NetDevs { fmt.Printf("%-20s %-18s %s\n", profile.Id.Get(), name+":IPADDR", netdev.Ipaddr.Print())