【问题标题】:Using terraform and sysprep/unattend to provision windows vm使用 terraform 和 sysprep/unattend 配置 windows vm
【发布时间】:2019-02-21 22:17:50
【问题描述】:

我正在尝试使用terraformvsphere 中部署虚拟机,但遇到了sysprep/unattend 文件的问题。我正在使用

提供unattend.xml 文件
customize {
  windows_sysprep_text = "${file("${path.module}/unattend2012.xml")}"
}

但是 terraform 应用会在 10 分钟后超时...

==>timeout waiting for customization to complete

虚拟机位于“选择键盘布局”屏幕上。

【问题讨论】:

  • 虚拟机创建后,自定义时是否重启?

标签: terraform vsphere sysprep


【解决方案1】:

基于此已打开(和已关闭的问题):https://github.com/terraform-providers/terraform-provider-vsphere/issues/355 我建议确保您已配置所有变量。如果您认为您拥有所有这些,您可能希望使用经过净化的输入来更新您的问题。

【讨论】:

    猜你喜欢
    • 2021-08-14
    • 2018-07-31
    • 1970-01-01
    • 2021-10-19
    • 1970-01-01
    • 2019-11-05
    • 2022-01-18
    • 1970-01-01
    • 2021-12-21
    相关资源
    最近更新 更多