diff --git a/pkg/drivers/drivers.go b/pkg/drivers/drivers.go index 4d6e6ca5f4..52913dc925 100644 --- a/pkg/drivers/drivers.go +++ b/pkg/drivers/drivers.go @@ -250,7 +250,7 @@ func ExtractVMDriverVersion(s string) string { } func setHyperKitPermissions(driverPath string) error { - msg := fmt.Sprintf("A new hyperkit driver was installed. It needs elevated permissions to run. The following commands will be executed:\n sudo chown root:wheel %s\n sudo chmod u+s %s", driverPath, driverPath) + msg := fmt.Sprintf("A new hyperkit driver was installed. It needs elevated permissions to run. The following commands will be executed:\n\n $ sudo chown root:wheel %s\n $ sudo chmod u+s %s\n", driverPath, driverPath) out.T(out.Permissions, msg, out.V{}) cmd := exec.Command("sudo", "chown", "root:wheel", driverPath) diff --git a/pkg/util/progressbar.go b/pkg/util/progressbar.go index f144d4266a..bf6c57fd6b 100644 --- a/pkg/util/progressbar.go +++ b/pkg/util/progressbar.go @@ -46,7 +46,7 @@ func (cpb *progressBar) TrackProgress(src string, currentSize, totalSize int64, cpb.progress = pb.New64(totalSize) } p := pb.Full.Start64(totalSize) - p.Set("prefix", filepath.Base(src+": ")) + p.Set("prefix", " > "+filepath.Base(src+": ")) p.SetCurrent(currentSize) p.Set(pb.Bytes, true)