Closed mmh352 closed 3 years ago
Re: Variables within an inline script will work
Variables within an inline script will work
It would be good to maintain a list somewhere (docs?) of the variables that are reusable within the inline scripts.
For example, assuming that ENV variables are accessible, I think this includes (check if it does):
USER
ou-user
UID
1000
GID
100
MODULE_CODE
{{ module.code }}
MODULE_PRESENTATION
{{ module.presentation }}
HOME
/home/$USER/$MODULE_CODE-$MODULE_PRESENTATION
Originally posted by @psychemedia in https://github.com/mmh352/ou-container-builder/discussions/20#discussioncomment-697358
Fixed in a5c4796
Re:
Variables within an inline script will work
It would be good to maintain a list somewhere (docs?) of the variables that are reusable within the inline scripts.
For example, assuming that ENV variables are accessible, I think this includes (check if it does):
USER
(default:ou-user
)UID
(default:1000
)GID
(default:100
)MODULE_CODE
(default:{{ module.code }}
)MODULE_PRESENTATION
(default:{{ module.presentation }}
)HOME
(default:/home/$USER/$MODULE_CODE-$MODULE_PRESENTATION
)Originally posted by @psychemedia in https://github.com/mmh352/ou-container-builder/discussions/20#discussioncomment-697358