Commit 4d6a136
committed
Set HOME environment variable on initial startup.
`automate-ctl create-enterprise` is called via the marketplace gem and
chef-marketplace-ctl. We execute the chef-marketplace-ctl commands
automatically on first boot with the `--preconfigure` flag to configure
the Chef Automate and Chef Server products, as well as allow users to
configure their credentials via the biscotti interface. The
`chef-marketplace-ctl` command calls `automate-ctl`, which calls an escript
`enterprise_ctl` which requires the environment variable `HOME` to be
defined as a valid path. This ensures we set a value and allows the
enterprise to be created.
Fixes SUSTAIN-844 #comment Set $HOME environment variable to prevent
`delivery-ctl create-enterprise default` from failing.
Signed-off-by: Ryan Hass <[email protected]>1 parent 1d813c7 commit 4d6a136
File tree
2 files changed
+7
-2
lines changed- arm-templates/automate
- cloudformation
2 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
35 | 39 | | |
36 | | - | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
40 | | - | |
| 44 | + | |
41 | 45 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| 256 | + | |
256 | 257 | | |
257 | 258 | | |
258 | 259 | | |
| |||
0 commit comments