Fix registration guide (#1926)

This commit is contained in:
Pablo Torres 2019-11-28 15:38:27 +01:00 committed by Juanca Rodríguez
parent a36e356200
commit 217e90ab05
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

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