mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[EDR Workflows] Fix vagrant unzip (#175754)
This commit is contained in:
parent
e92a35c904
commit
f4b0bd7d7b
2 changed files with 3 additions and 1 deletions
|
@ -112,7 +112,7 @@ describe('Response console', { tags: ['@ess', '@serverless'] }, () => {
|
|||
path: `${homeFilePath}/upload.zip`,
|
||||
password: 'elastic',
|
||||
}).then((unzippedFileContent) => {
|
||||
expect(unzippedFileContent).to.equal(fileContent);
|
||||
expect(unzippedFileContent).to.contain(fileContent);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -32,5 +32,7 @@ Vagrant.configure("2") do |config|
|
|||
config.vm.provision "file", source: cachedAgentSource, destination: "~/#{cachedAgentFilename}"
|
||||
config.vm.provision "shell", inline: "mkdir #{agentDestinationFolder}"
|
||||
config.vm.provision "shell", inline: "tar -zxf #{cachedAgentFilename} --directory #{agentDestinationFolder} --strip-components=1 && rm -f #{cachedAgentFilename}"
|
||||
config.vm.provision "shell", inline: "sudo apt-get update"
|
||||
config.vm.provision "shell", inline: "sudo apt-get upgrade"
|
||||
config.vm.provision "shell", inline: "sudo apt-get install unzip"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue