Skip to content

Commit f95c2f3

Browse files
committed
eho upload moved to another place
1 parent ecbc29c commit f95c2f3

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

stack.sh

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1208,21 +1208,6 @@ if is_service_enabled heat; then
12081208
start_heat
12091209
fi
12101210

1211-
if is_service_enabled eho; then
1212-
echo_summary "Uploading EHO images"
1213-
1214-
TOKEN=$(keystone token-get | grep ' id ' | get_field 2)
1215-
for eho_image_url in ${EHO_IMAGE_URLS//,/ }; do
1216-
upload_image $eho_image_url $TOKEN
1217-
done
1218-
1219-
echo_summary "Configuring EHO"
1220-
init_eho
1221-
1222-
echo_summary "Starting EHO"
1223-
start_eho
1224-
fi
1225-
12261211
# Create account rc files
12271212
# =======================
12281213

@@ -1366,6 +1351,21 @@ if is_service_enabled heat; then
13661351
echo "Heat has replaced the default flavors. View by running: nova flavor-list"
13671352
fi
13681353

1354+
if is_service_enabled eho; then
1355+
echo_summary "Uploading EHO images"
1356+
1357+
TOKEN=$(keystone token-get | grep ' id ' | get_field 2)
1358+
for eho_image_url in ${EHO_IMAGE_URLS//,/ }; do
1359+
upload_image $eho_image_url $TOKEN
1360+
done
1361+
1362+
echo_summary "Configuring EHO"
1363+
init_eho
1364+
1365+
echo_summary "Starting EHO"
1366+
start_eho
1367+
fi
1368+
13691369
# If Keystone is present you can point ``nova`` cli to this server
13701370
if is_service_enabled key; then
13711371
echo "Keystone is serving at $KEYSTONE_AUTH_PROTOCOL://$SERVICE_HOST:$KEYSTONE_SERVICE_PORT/v2.0/"

0 commit comments

Comments
 (0)