From e57d53f1a0f3369bc3995b061086e68528e60e2b Mon Sep 17 00:00:00 2001 From: sayalilunkad Date: Sat, 22 Nov 2014 03:00:18 +0530 Subject: [PATCH] Edits glance setup section in osbash Edits names of sections in glance setup in osbash as per sections in install guides and adds link to relevant section from install guides. Change-Id: Ibdeb102d392c3937cabd0ae06fa796bf24dbed00 --- labs/scripts/setup_glance.sh | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/labs/scripts/setup_glance.sh b/labs/scripts/setup_glance.sh index d5210e63..9de985c0 100755 --- a/labs/scripts/setup_glance.sh +++ b/labs/scripts/setup_glance.sh @@ -9,9 +9,10 @@ exec_logfile indicate_current_auto -#------------------------------------------------------------------------------ -# Set up Image Service (glance). -#------------------------------------------------------------------------------ +#----------------------------------------------------------------------------------------- +# Install the Image Service (glance). +# http://docs.openstack.org/icehouse/install-guide/install/apt/content/glance-install.html +#----------------------------------------------------------------------------------------- echo "Installing glance." sudo apt-get install -y glance @@ -95,9 +96,10 @@ echo "Restarting glance service." sudo service glance-registry restart sudo service glance-api restart -#------------------------------------------------------------------------------ -# Add CirrOS image. -#------------------------------------------------------------------------------ +#---------------------------------------------------------------------------------------- +# Verify the Image Service installation +# http://docs.openstack.org/icehouse/install-guide/install/apt/content/glance-verify.html +#---------------------------------------------------------------------------------------- echo "Waiting for glance to start." until glance image-list >/dev/null 2>&1; do @@ -111,10 +113,6 @@ glance image-create \ --container-format bare \ --disk-format qcow2 < "$HOME/img/$(basename $CIRROS_URL)" -#------------------------------------------------------------------------------ -# Verify the Image Service installation -#------------------------------------------------------------------------------ - echo "Verifying that the image was successfully added to the service." echo "glance image-list"