Merge "Use glance image-show to check for uploaded Docker images"
diff --git a/clean.sh b/clean.sh
index e121e4f..3707d84 100755
--- a/clean.sh
+++ b/clean.sh
@@ -123,6 +123,6 @@
 FILES_TO_CLEAN=".localrc.auto docs-files docs/ shocco/ stack-screenrc test*.conf* test.ini*"
 FILES_TO_CLEAN+=".stackenv .prereqs"
 
-for file in FILES_TO_CLEAN; do
+for file in $FILES_TO_CLEAN; do
     rm -f $TOP_DIR/$file
 done
diff --git a/exercises/boot_from_volume.sh b/exercises/boot_from_volume.sh
index 7912046..f679669 100755
--- a/exercises/boot_from_volume.sh
+++ b/exercises/boot_from_volume.sh
@@ -32,6 +32,7 @@
 
 # Import project functions
 source $TOP_DIR/lib/cinder
+source $TOP_DIR/lib/neutron
 
 # Import configuration
 source $TOP_DIR/openrc
diff --git a/functions b/functions
index 43639c7..a844b1c 100644
--- a/functions
+++ b/functions
@@ -6,10 +6,6 @@
 # - ``ENABLED_SERVICES``
 # - ``FILES``
 # - ``GLANCE_HOSTPORT``
-# - ``REQUIREMENTS_DIR``
-# - ``STACK_USER``
-# - ``TRACK_DEPENDS``
-# - ``UNDO_REQUIREMENTS``
 #
 
 # Include the common functions
diff --git a/functions-common b/functions-common
index 228cb2a..0db3ff3 100644
--- a/functions-common
+++ b/functions-common
@@ -26,7 +26,10 @@
 # - ``PIP_DOWNLOAD_CACHE``
 # - ``PIP_USE_MIRRORS``
 # - ``RECLONE``
+# - ``REQUIREMENTS_DIR``
+# - ``STACK_USER``
 # - ``TRACK_DEPENDS``
+# - ``UNDO_REQUIREMENTS``
 # - ``http_proxy``, ``https_proxy``, ``no_proxy``
 
 # Save trace setting
diff --git a/lib/nova b/lib/nova
index 90b1ba4..583a592 100644
--- a/lib/nova
+++ b/lib/nova
@@ -245,10 +245,9 @@
         inicomment $NOVA_API_PASTE_INI filter:authtoken cafile
         inicomment $NOVA_API_PASTE_INI filter:authtoken admin_user
         inicomment $NOVA_API_PASTE_INI filter:authtoken admin_password
+        inicomment $NOVA_API_PASTE_INI filter:authtoken signing_dir
     fi
 
-    inicomment $NOVA_API_PASTE_INI filter:authtoken signing_dir
-
     if is_service_enabled n-cpu; then
         # Force IP forwarding on, just on case
         sudo sysctl -w net.ipv4.ip_forward=1
diff --git a/lib/swift b/lib/swift
index 59c1e54..5d4d4ef 100644
--- a/lib/swift
+++ b/lib/swift
@@ -301,7 +301,7 @@
     # rsyncd.conf just prepared for 4 nodes
     if is_ubuntu; then
         sudo sed -i '/^RSYNC_ENABLE=false/ { s/false/true/ }' /etc/default/rsync
-    else
+    elif [ -e /etc/xinetd.d/rsync ]; then
         sudo sed -i '/disable *= *yes/ { s/yes/no/ }' /etc/xinetd.d/rsync
     fi
 
@@ -635,8 +635,10 @@
     # Start rsync
     if is_ubuntu; then
         sudo /etc/init.d/rsync restart || :
+    elif [ -e /etc/xinetd.d/rsync ]; then
+        start_service xinetd
     else
-        sudo systemctl start xinetd.service
+        start_service rsyncd
     fi
 
     if is_apache_enabled_service swift; then