From dddeb41b7c8976a1aa65cd5975e52f1c30428622 Mon Sep 17 00:00:00 2001 From: weishao Date: Thu, 8 Sep 2022 13:50:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=AE=9A=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/net/educoder/util/JCloudUtil.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/educoder/util/JCloudUtil.java b/src/main/java/net/educoder/util/JCloudUtil.java index 9e74093..ada2747 100644 --- a/src/main/java/net/educoder/util/JCloudUtil.java +++ b/src/main/java/net/educoder/util/JCloudUtil.java @@ -148,7 +148,7 @@ public class JCloudUtil { " {\n" + " \"name\": \"default\"\n" + " }\n" + - " ]" + + " ], \"user_data\": \"I2Nsb3VkLWNvbmZpZwpjaHBhc3N3ZDoKICAgbGlzdDogfAogICAgICAgcm9vdDpFZHVjb2RlcjEyMwogICBleHBpcmU6IGZhbHNlCnNzaF9wd2F1dGg6IHRydWUK\"" + " }\n" + "}"; long start = System.currentTimeMillis(); @@ -447,6 +447,7 @@ public class JCloudUtil { createCloudHost.setFlavorRef("02723f5f-5518-4031-bd5e-dfecae675606"); // 网络id createCloudHost.setNetworkId(networkId); + return createCloudHost; }