生成默认配置 SIMP 文件
Generating a default config SIMP file
我在使用 SIMP 的 RHEL 7.7 实例上。我正在尝试生成默认配置 (YAML) 文件。
直接来自the SIMP docs:
You can use the --dry-run option to step through the questions without changing anything and then run simp config -a /root/.simp/simp_conf.yaml to apply the changes.
再往下:
If you want to understand what variables apply to your setup, run simp config --dry-run and examine the generated simp_conf.yaml file. That file will contain both the settings and their documentation.
我尝试通过以下方式这样做:
simp config --dry-run
simp config --dry-run -o default_simp_config.yaml
simp config --dry-run -f -o default_simp_config.yaml
这些命令中的任何一个都没有生成文件。我错过了什么?
信息:
# simp version
5.1.0
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.7 (Maipo)
看起来这是 simp config
的输出中的错误。
当 运行 simp config --dry-run
时,您应该会看到如下内容 header:
================================================================================
`simp config` will take you through preparing your infrastructure for bootstrap
based on a pre-defined SIMP scenario you select. These preparations include
optional and required general system setup and required Puppet configuration.
All changes will be logged to
/root/.simp/simp_conf.log.20200128T140045
First, `simp config` will ensure you have a SIMP omni-environment in place.
Then, you will be prompted to enter setup information. Each prompt will be
prefaced by a detailed description of the information requested, along with the
OS value and/or recommended value for that item, if available.
At any time, you can exit `simp config` by entering <CTRL-C>. By default,
if you exit early, the configuration you entered will be saved to
/root/.simp/.simp_conf.yaml
The next time you run `simp config`, you will be given the option to continue
where you left off or to start all over.
================================================================================
请注意,保存文件被标记为 /root/.simp/.simp_conf.yaml
而不是参考文档中指定的 /root/.simp/.simp_conf.yaml
。
这似乎是一个错误,其中前导点 .
在所有情况下都被添加到输出文件中,并且已作为 SIMP-7533
提交
我在使用 SIMP 的 RHEL 7.7 实例上。我正在尝试生成默认配置 (YAML) 文件。
直接来自the SIMP docs:
You can use the --dry-run option to step through the questions without changing anything and then run simp config -a /root/.simp/simp_conf.yaml to apply the changes.
再往下:
If you want to understand what variables apply to your setup, run simp config --dry-run and examine the generated simp_conf.yaml file. That file will contain both the settings and their documentation.
我尝试通过以下方式这样做:
simp config --dry-run
simp config --dry-run -o default_simp_config.yaml
simp config --dry-run -f -o default_simp_config.yaml
这些命令中的任何一个都没有生成文件。我错过了什么?
信息:
# simp version
5.1.0
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.7 (Maipo)
看起来这是 simp config
的输出中的错误。
当 运行 simp config --dry-run
时,您应该会看到如下内容 header:
================================================================================
`simp config` will take you through preparing your infrastructure for bootstrap
based on a pre-defined SIMP scenario you select. These preparations include
optional and required general system setup and required Puppet configuration.
All changes will be logged to
/root/.simp/simp_conf.log.20200128T140045
First, `simp config` will ensure you have a SIMP omni-environment in place.
Then, you will be prompted to enter setup information. Each prompt will be
prefaced by a detailed description of the information requested, along with the
OS value and/or recommended value for that item, if available.
At any time, you can exit `simp config` by entering <CTRL-C>. By default,
if you exit early, the configuration you entered will be saved to
/root/.simp/.simp_conf.yaml
The next time you run `simp config`, you will be given the option to continue
where you left off or to start all over.
================================================================================
请注意,保存文件被标记为 /root/.simp/.simp_conf.yaml
而不是参考文档中指定的 /root/.simp/.simp_conf.yaml
。
这似乎是一个错误,其中前导点 .
在所有情况下都被添加到输出文件中,并且已作为 SIMP-7533