Commit ba06d31c authored by SN150021's avatar SN150021

创建信息新增密钥对

parent 7ccf1612
......@@ -94,7 +94,7 @@ public class AliEcsClient {
.regionId(config.getRegionId())
.launchTemplateId(config.getTemplateId())
.userData(Aes.base64Encode(userData.getBytes()))
//.keyPairName("proxy-ip")
.keyPairName("Proxy_IP")
.build();
log.info("调用aliEcs创建并运行实例,入参:owner:{},regionId:{}", owner, config.getRegionId());
CompletableFuture<RunInstancesResponse> response = client.runInstances(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment