Merge pull request #400 from Exy13/doc

Update misleading documentation
This commit is contained in:
Anders Ingemann 2017-10-02 13:50:12 +02:00 committed by GitHub
commit 4cb1065551

View file

@ -16,6 +16,7 @@ Settings
(e.g. globbing will work). (e.g. globbing will work).
In addition to the manifest variables ``{root}`` is also available. In addition to the manifest variables ``{root}`` is also available.
It points at the root of the image volume. It points at the root of the image volume.
``chroot {root}`` should be used for the command to run in the images' environment.
``required`` ``required``
``manifest vars`` ``manifest vars``
@ -29,4 +30,4 @@ Create an empty `index.html` in `/var/www` and delete all locales except english
commands: commands:
commands: commands:
- [touch, '{root}/var/www/index.html'] - [touch, '{root}/var/www/index.html']
- ['rm -rf /usr/share/locale/[^en]*'] - ['chroot {root} rm -rf /usr/share/locale/[^en]*']