[Fleet] made unprivileged text more generic (#189063)

## Summary

Closes https://github.com/elastic/kibana/issues/188893

Adjust text so it's more generic, fits Windows platform better.

<img width="828" alt="image"
src="https://github.com/user-attachments/assets/a9205944-e690-44be-bef4-e322f153153a">
This commit is contained in:
Julia Bardi 2024-07-24 16:20:59 +02:00 committed by GitHub
parent 4c492344eb
commit d8ef2c94d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,10 +19,10 @@ export const UnprivilegedInfo: React.FC = () => {
<p>
<FormattedMessage
id="xpack.fleet.agentEnrollmentFlyout.unprivilegedMessage"
defaultMessage="To install Elastic Agent without root privileges, add the {flag} flag to the {command} install command below. For more information, see the {guideLink}"
defaultMessage="To install Elastic Agent without root privileges, add the {flag} flag to the {command} command below. For more information, see the {guideLink}"
values={{
flag: <EuiCode>--unprivileged</EuiCode>,
command: <EuiCode>sudo ./elastic-agent</EuiCode>,
command: <EuiCode>elastic-agent install</EuiCode>,
guideLink: (
<EuiLink href={docLinks.links.fleet.unprivilegedMode} target="_blank" external>
<FormattedMessage