Browse code

Merge "Fix nova volume install for devstack"

Jenkins authored on 2012/08/16 05:47:50
Showing 1 changed files
... ...
@@ -1746,6 +1746,7 @@ elif is_service_enabled n-vol; then
1746 1746
 
1747 1747
         # Setup the tgt configuration file
1748 1748
         if [[ ! -f /etc/tgt/conf.d/nova.conf ]]; then
1749
+           sudo mkdir -p /etc/tgt/conf.d
1749 1750
            echo "include $NOVA_DIR/volumes/*" | sudo tee /etc/tgt/conf.d/nova.conf
1750 1751
         fi
1751 1752