1CDIST-TYPE__INSTALL_STAGE(7) cdist CDIST-TYPE__INSTALL_STAGE(7)
2
3
4
6 cdist-type__install_stage - download and unpack a stage file
7
9 Downloads a operating system stage using curl and unpacks it to /target
10 using tar. The stage tarball is expected to be gzip compressed.
11
13 uri The uri from which to fetch the tarball. Can be anything under‐
14 stood by curl, e.g: | http://path/to/stage.tgz |
15 tftp:///path/to/stage.tgz | file:///local/path/stage.tgz
16
18 target where to unpack the tarball to. Defaults to /target.
19
21 insecure
22 run curl in insecure mode so it does not check the servers ssl
23 certificate
24
26 __install_stage --uri tftp:///path/to/stage.tgz
27 __install_stage --uri http://path/to/stage.tgz --target /mnt/foobar
28 __install_stage --uri file:///path/to/stage.tgz --target /target
29 __install_stage --uri https://path/to/stage.tgz --target /mnt/foobar --insecure
30
32 Steven Armstrong <steven-cdist--@--armstrong.cc>
33
35 Copyright (C) 2011 - 2013 Steven Armstrong. You can redistribute it
36 and/or modify it under the terms of the GNU General Public License as
37 published by the Free Software Foundation, either version 3 of the Li‐
38 cense, or (at your option) any later version.
39
41 ungleich GmbH 2021
42
43
44
45
467.0.0 Jul 31, 2022 CDIST-TYPE__INSTALL_STAGE(7)