diff options
author | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2023-04-11 15:45:04 -0700 |
---|---|---|
committer | Jessica Wagantall <jwagantall@linuxfoundation.org> | 2023-04-11 15:45:04 -0700 |
commit | 36defa951425741a0d204035170b6968353799fd (patch) | |
tree | cb75cee26cdc2c172ffbd9651c1ec82f73aae92f | |
parent | 049b42e5753a1f12dc176aa29dbabf0024130e54 (diff) |
Fix: Use shell to run nodejs commands instead
Issue-ID: CIMAN-33
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: Iccf6274bdd9af1e7684e9c132c3f656e23c4edb1
-rw-r--r-- | packer/provision/local-builder.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packer/provision/local-builder.yaml b/packer/provision/local-builder.yaml index 0e2976aa8..a34fdb564 100644 --- a/packer/provision/local-builder.yaml +++ b/packer/provision/local-builder.yaml @@ -115,7 +115,8 @@ - name: Install nodejs and npm block: - name: 'Pull latest nodejs version' - command: 'curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - && sudo apt-get install -y nodejs' + shell: | + curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - && sudo apt-get install -y nodejs become: yes - name: 'Check nodejs version' command: node --version |