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