Difference between revisions of "gaia setup via CLI"
From cpwiki.net
(Created page with "we don't like wizards... == creating a config template == # config_system --create-template <template_name> edit the template and fill out fields per comments test the v...") |
(→creating a config template) |
||
Line 5: | Line 5: | ||
== creating a config template == | == creating a config template == | ||
− | # config_system --create-template <template_name> | + | # config_system --create-template <template_name> |
edit the template and fill out fields per comments | edit the template and fill out fields per comments | ||
Line 11: | Line 11: | ||
test the validity of the template | test the validity of the template | ||
− | # config_system --config-file <template_name> --dry-run | + | # config_system --config-file <template_name> --dry-run |
once validated, run it on a newly installed system without the dry run option | once validated, run it on a newly installed system without the dry run option | ||
− | # config_system --config-file <template_name> | + | # config_system --config-file <template_name> |
− | + | ||
− | + | ||
== backing up configs == | == backing up configs == |
Latest revision as of 17:03, 13 April 2016
we don't like wizards...
creating a config template
# config_system --create-template <template_name>
edit the template and fill out fields per comments
test the validity of the template
# config_system --config-file <template_name> --dry-run
once validated, run it on a newly installed system without the dry run option
# config_system --config-file <template_name>
backing up configs
This is not snapshotting an filesystems, only the configuration.
- clish -c "show configuration" > backupfile