- From: Maciej Pasternacki <
>
- To:
- Subject: [chef] bash -c '...' in bootstrap templates
- Date: Mon, 16 Jul 2012 15:41:32 +0200
Hi,
I have noticed that all knife bootstrap templates bundled with Chef are
shell scripts wrapped in extra layer of "bash -c '...'". Can anybody
here explain, what is the reason for this - some escaping magic I can't
grasp now (it seems to just add one escape level, which rather makes
problems than solves them), is it related to sudo, or is it just to
make sure that bash is used in case distro provides a different login
shell?
Thanks,
-- M
- [chef] bash -c '...' in bootstrap templates, Maciej Pasternacki, 07/16/2012
Archive powered by MHonArc 2.6.16.