Advise user of --force option when using root

pull/13957/head
klaases 2022-04-12 15:25:17 -07:00
parent fe6ef9d639
commit 6787bcf6b2
1 changed files with 1 additions and 1 deletions

View File

@ -941,7 +941,7 @@ func validateUser(drvName string) {
return
}
out.ErrT(style.Stopped, `The "{{.driver_name}}" driver should not be used with root privileges.`, out.V{"driver_name": drvName})
out.ErrT(style.Stopped, `The "{{.driver_name}}" driver should not be used with root privileges. If you still wish to continue, use --force.`, out.V{"driver_name": drvName})
out.ErrT(style.Tip, "If you are running minikube within a VM, consider using --driver=none:")
out.ErrT(style.Documentation, " {{.url}}", out.V{"url": "https://minikube.sigs.k8s.io/docs/reference/drivers/none/"})