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 {
- - - -

Deploy a new agent

-
-
- - this.props.addNewAgent(false)} - iconType="cross" - > - close - - -
+ + + +

Deploy a new agent

+
+
+ + this.props.addNewAgent(false)} + iconType="cross" + > + close + + +
+ diff --git a/public/less/common.less b/public/less/common.less index 7778a08fd..793f0107c 100644 --- a/public/less/common.less +++ b/public/less/common.less @@ -1023,7 +1023,6 @@ discover-app-w .container-fluid { .registerAgent{ min-height: calc(~'100vh - 50px'); background: #fafbfd; - padding-top: 25px; } .navBarLogo {