Skip to content

Commit

Permalink
No need for exit status for all steps
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Solymos <psolymos@gmail.com>
  • Loading branch information
psolymos committed Jun 25, 2024
1 parent c4af1ac commit b54eaf8
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions digitalocean/packer/marketplace-image.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@
"apt -qqy -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold' full-upgrade",
"apt -qqy -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold' install {{user `apt_packages`}}",
"apt-get -qqy clean"
],
"valid_exit_codes": [0, 2]
]
},
{
"type": "shell",
Expand All @@ -59,8 +58,7 @@
],
"scripts": [
"scripts/01-install.sh"
],
"valid_exit_codes": [0, 2]
]
},
{
"type": "file",
Expand All @@ -77,8 +75,7 @@
],
"scripts": [
"scripts/02-setup.sh"
],
"valid_exit_codes": [0, 2]
]
},
{
"type": "shell",
Expand All @@ -91,8 +88,7 @@
"scripts": [
"scripts/90-cleanup.sh",
"scripts/99-img-check.sh"
],
"valid_exit_codes": [0, 2]
]
}
]
}

0 comments on commit b54eaf8

Please sign in to comment.