我花了一些时间用Azure PS脚本启动一些CoreOS实例。 我有一切工作,除了我不知道如何获得云configuration添加。
使用CLI,您可以执行如下操作:
azure vm create --custom-data=cloud-config.yaml --ssh=22 --ssh-cert=./myCert.pem --no-ssh-password --vm-name=node-1 --connect=coreos-cluster --location="West US" 2b171e93f07c4903bcad35bda10acf22__CoreOS-Stable-522.6.0 core
但是,我能find的唯一一个到powershell脚本的转换是添加configurationconfiguration。
Add-AzureProvisioningConfig -Linux -VM $ vm -CustomDataFile cloud-config.yaml
这不起作用,因为Add-AzureProvisioningConfig是“Azure服务脚本”的一部分,而不是新的“资源pipe理器”脚本。
有谁知道如何获得Azure资源pipe理器脚本来获取云configuration安装?
谢谢!