You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#cloud-configwrite_files:
- owner: root:rootpath: /root/.cloud-init/some-script.shcontent: | #!/bin/bash set -e a command that will failruncmd:
- /bin/bash /root/.cloud-init/some-script.sh
Environment details
Cloud-init version: 24.3.1-0ubuntu0~24.04.2
Operating System Distribution: Ubuntu 24.04.1 LTS
Cloud provider, platform or installer type: hcloud
cloud-init logs
/root/.cloud-init/some-script.sh: line 5: a: command not found
The text was updated successfully, but these errors were encountered:
Bug report
You usually use set -e to exit a script on error.
cloud-init status
should beerror
now. Butcloud-init
continues and ends up with statusdone
.cloud-init status --long
Steps to reproduce the problem
Environment details
24.3.1-0ubuntu0~24.04.2
Ubuntu 24.04.1 LTS
hcloud
cloud-init logs
The text was updated successfully, but these errors were encountered: