Fix registration guide (#1928)

This commit is contained in:
Pablo Torres 2019-11-28 15:39:36 +01:00 committed by Juanca Rodríguez
parent 7635f0d4cc
commit 32b7e80761
2 changed files with 20 additions and 19 deletions

View File

@ -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 {
<div>
<EuiPage restrictWidth="1000px" style={{ background: 'transparent' }}>
<EuiPageBody>
<EuiFlexGroup>
<EuiFlexItem>
<EuiTitle>
<h2>Deploy a new agent</h2>
</EuiTitle>
</EuiFlexItem>
<EuiFlexItem grow={false}>
<EuiButtonEmpty
size="s"
onClick={() => this.props.addNewAgent(false)}
iconType="cross"
>
close
</EuiButtonEmpty>
</EuiFlexItem>
</EuiFlexGroup>
<EuiFlexGroup>
<EuiFlexItem>
<EuiPanel>
<EuiFlexGroup>
<EuiFlexItem>
<EuiTitle>
<h2>Deploy a new agent</h2>
</EuiTitle>
</EuiFlexItem>
<EuiFlexItem grow={false}>
<EuiButtonEmpty
size="s"
onClick={() => this.props.addNewAgent(false)}
iconType="cross"
>
close
</EuiButtonEmpty>
</EuiFlexItem>
</EuiFlexGroup>
<EuiSpacer></EuiSpacer>
<EuiFlexItem>
<EuiSteps steps={this.cleanSteps(steps)} />
</EuiFlexItem>

View File

@ -1023,7 +1023,6 @@ discover-app-w .container-fluid {
.registerAgent{
min-height: calc(~'100vh - 50px');
background: #fafbfd;
padding-top: 25px;
}
.navBarLogo {