57.21. Overcloud 镜像构建
为 overcloud 构建镜像
使用方法:
openstack overcloud image build [-h] [--config-file <yaml config file>] [--image-name <image name>] [--no-skip] [--output-directory OUTPUT_DIRECTORY] [--temp-dir TEMP_DIR]
openstack overcloud image build [-h] [--config-file <yaml config file>]
[--image-name <image name>] [--no-skip]
[--output-directory OUTPUT_DIRECTORY]
[--temp-dir TEMP_DIR]
value | Summary |
---|---|
-h, --help | 显示帮助信息并退出 |
--config-file <yaml config file> | 指定镜像构建的 yaml 配置文件,可以多次指定。顺序被保留,之后的文件将覆盖上一个文件中的某些选项。其他选项将附加。 |
--image-name <image name> | 要构建的镜像名称。可多次指定。如果未指定,将在给定的 YAML 文件中构建所有镜像。 |
--no-skip | 如果缓存的镜像存在,则跳过构建。 |
--output-directory OUTPUT_DIRECTORY | 镜像输出目录。如果未设置,则默认为 $TRIPLEO_ROOT,或当前目录。 |
--temp-dir TEMP_DIR | 在构建镜像时要使用的临时目录。如果未设置,则默认为 $TMPDIR 或当前目录。 |