Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
snf-image-creator
Commits
6d7f7fce
Commit
6d7f7fce
authored
May 21, 2013
by
Nikos Skalkotos
Browse files
Beautify FreeBSD description returned by guestfs
parent
c71133ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
image_creator/os_type/freebsd.py
View file @
6d7f7fce
...
...
@@ -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'
]
=
\
self
.
meta
[
'DESCRIPTION'
].
split
(
'#'
)[
0
].
strip
()
# Delete the USERS metadata if empty
if
not
len
(
self
.
meta
[
'USERS'
]):
self
.
out
.
warn
(
"No passworded users found!"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment