mirror of
https://github.com/kairos-io/kcrypt-challenger.git
synced 2025-09-15 22:49:31 +00:00
Make sure we run command in bash to avoid error in Ubuntu
``` set: Illegal option -o pipefail ``` Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
This commit is contained in:
@@ -42,7 +42,7 @@ var _ = Describe("kcrypt encryption", func() {
|
||||
err = vm.Scp(configFile.Name(), "config.yaml", "0744")
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
|
||||
installationOutput, err = vm.Sudo("set -o pipefail && kairos-agent manual-install --device auto config.yaml 2>&1 | tee manual-install.txt")
|
||||
installationOutput, err = vm.Sudo("/bin/bash -c 'set -o pipefail && kairos-agent manual-install --device auto config.yaml 2>&1 | tee manual-install.txt'")
|
||||
Expect(err).ToNot(HaveOccurred(), installationOutput)
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user