install_arch: Use shell instead of command
shell is like command but runs the command through a shell, so that piping will work.
Merge request reports
Activity
@aminvakil see: 3a501eed
This is unfortunately not working due to the default shell in Hetzner's recovery environment being dash (I assume).
hcloud: TASK [install_arch : clean pacman cache] *************************************** hcloud: fredag 30 juli 2021 18:58:05 +0200 (0:00:01.872) 0:02:25.939 *********** hcloud: fatal: [packer-base-image]: FAILED! => {"changed": false, "cmd": "set -o pipefail && yes | chroot /mnt pacman -Scc", "delta": "0:00:00.004723", "end": "2021-07-30 18:58:06.131392", "msg": "non-zero return code", "rc": 2, "start": "2021-07-30 18:58:06.126669", "stderr": "/bin/sh: 1: set: Illegal option -o pipefail", "stderr_lines": ["/bin/sh: 1: set: Illegal option -o pipefail"], "stdout": "", "stdout_lines": []}
added 152 commits
-
ea049484...9a9113d1 - 151 commits from branch
archlinux:master
- ed4fec84 - install_arch: Use shell instead of command
-
ea049484...9a9113d1 - 151 commits from branch
mentioned in commit ec1f08cd
I disabled the ansible-lint rule so we can avoid
set -o pipefail
which isn't supported in Hetzner's recovery environment.Thanks for the contribution @xenrox :)
Please register or sign in to reply