搜索

7.144. Initialization struct

download PDF
表 7.194. 属性概述
名称类型概述

active_directory_ou

字符串

 

authorized_ssh_keys

字符串

 

cloud_init

CloudInit

指定 cloud-init 配置的已弃用属性。

cloud_init_network_protocol

CloudInitNetworkProtocol

属性指定用于格式化 cloud-init 网络参数的 cloud-init 协议。

配置

Configuration

 

custom_script

字符串

 

dns_search

字符串

 

dns_servers

字符串

 

domain

字符串

 

host_name

字符串

 

input_locale

字符串

 

nic_configurations

NicConfiguration[]

 

org_name

字符串

 

regenerate_ids

布尔值

 

regenerate_ssh_keys

布尔值

 

root_password

字符串

 

system_locale

字符串

 

timezone

字符串

 

ui_language

字符串

 

user_locale

字符串

 

user_name

字符串

 

windows_license_key

字符串

 

7.144.1. cloud_init

指定 cloud-init 配置的已弃用属性。

此属性和 CloudInit 类型已弃用,并将在以后的中删除。要指定 cloud-init 配置,请使用 Initialization 类型内的属性。这两种类型的属性之间的映射如下:

CloudInit初始化

authorized_keys

authorized_ssh_keys

dns.search_domains

dns_search

dns.servers

dns_servers

文件

custom_script

host

host_name

network_configuration.nics

nic_configurations

regenerate_ssh_keys

regenerate_ssh_keys

timezone

timezone

用户

user_name & root_password

有关如何使用 cloud-init 的详情,请查看 PythonJava 中的示例。

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.