Commit 6d7f7fce authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Beautify FreeBSD description returned by guestfs

parent c71133ce
......@@ -43,6 +43,10 @@ class Freebsd(Unix):
self.meta["USERS"] = " ".join(self._get_passworded_users())
#The original product name key is long and ugly
self.meta['DESCRIPTION'] = \
# Delete the USERS metadata if empty
if not len(self.meta['USERS']):
self.out.warn("No passworded users found!")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment