From 8f0f2b765154e9e52463b23e59e35b95132d6e8c Mon Sep 17 00:00:00 2001 From: Pablo Date: Thu, 28 Nov 2019 11:33:10 +0100 Subject: [PATCH] Fix registration guide --- .../agent/components/register-agent.js | 38 ++++++++++--------- public/less/common.less | 1 - 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/public/controllers/agent/components/register-agent.js b/public/controllers/agent/components/register-agent.js index b9e74a872a..77e907a379 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 adb32b98c2..0afd6bfb55 100644 --- a/public/less/common.less +++ b/public/less/common.less @@ -1002,7 +1002,6 @@ discover-app-w .container-fluid { .registerAgent{ min-height: calc(~'100vh - 100px'); background: #fafbfd; - padding-top: 25px; } .navBarLogo {