diff --git a/public/controllers/agent/components/register-agent.js b/public/controllers/agent/components/register-agent.js index b9e74a872..77e907a37 100644 --- a/public/controllers/agent/components/register-agent.js +++ b/public/controllers/agent/components/register-agent.js @@ -27,7 +27,8 @@ import { EuiCopy, EuiPage, EuiPageBody, - EuiCallOut + EuiCallOut, + EuiSpacer } from '@elastic/eui'; import PropTypes from 'prop-types'; @@ -164,7 +165,7 @@ export class RegisterAgent extends Component { this.state.serverAddress }'${ this.state.needsPassword - ? ` setenv WAZUH_PASSWORD '${this.state.wazuhPassword}' ` + ? ` WAZUH_PASSWORD '${this.state.wazuhPassword}'` : ' ' } && sudo installer -pkg ./wazuh-agent.pkg -target /`, winText: `Invoke-WebRequest -Uri https://packages.wazuh.com/3.x/windows/wazuh-agent-${ @@ -246,25 +247,26 @@ export class RegisterAgent extends Component {