Skip to content

Commit 5e40437

Browse files
committed
Shorten the descriptions to fit in width 100
Signed-off-by: Anders F Björklund <[email protected]>
1 parent 1350711 commit 5e40437

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/hostagent/requirements.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ A possible workaround is to run "apt-get install sshfs" in the guest.
114114
`,
115115
})
116116
req = append(req, requirement{
117-
description: "/etc/fuse.conf (/etc/fuse3.conf) to contain \"user_allow_other\"",
117+
description: "fuse to \"allow_other\" as user",
118118
script: `#!/bin/bash
119119
set -eux -o pipefail
120120
if ! timeout 30s bash -c "until grep -q ^user_allow_other /etc/fuse*.conf; do sleep 3; done"; then

pkg/start/start.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ func ShowRequirement(inst *store.Instance, req hostagentevents.Requirement) {
310310
// Disable the adaptive width of the bar element
311311
pb.RegisterElement("bar", pb.ElementBar, false)
312312
ProgressBar.SetTemplateString(tmpl)
313-
ProgressBar.SetWidth(120)
313+
ProgressBar.SetWidth(100) // with longest suffix
314314
ProgressBar.Set("prefix", "Waiting")
315315
} else {
316316
// Flush the progress bar output for this line

0 commit comments

Comments
 (0)