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
This commit is contained in:
parent
21b4ec350c
commit
e57d53f1a0
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user