From fabe9cc3308ff5ae358df99923fea1de4860b9fb Mon Sep 17 00:00:00 2001 From: yo Date: Sun, 25 Sep 2022 13:45:12 +0200 Subject: [PATCH] Use hostuuid as jail Name --- cmd/list.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/list.go b/cmd/list.go index 84649fb..a3e353b 100644 --- a/cmd/list.go +++ b/cmd/list.go @@ -255,7 +255,7 @@ func listJailsFromDirectory(dir string, dsname string) ([]Jail, error) { // 2. Build jail object from config jailRootPath := fmt.Sprintf("%s/%s/%s", dir, fi.Name(), "root") j := Jail{ - Name: jailConf.Host_hostname, + Name: jailConf.Host_hostuuid, Config: jailConf, ConfigPath: jailConfPath, Datastore: dsname,