|
|
|
@ -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;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|