Commit b7cd8ccf authored by Joanne Hugé's avatar Joanne Hugé

Rename list-partition script and list softwares

parent 02565b9a
#!/bin/bash
echo "Partition list:" && echo
for i in $(find /srv/slapgrid -type d -name "slappart*"|sed 's#.*slappart\([0-9]*\)#\1#g'|sort -h); do
cd /srv/slapgrid/slappart$i;
if [ -f .installed.cfg ]; then
......@@ -7,3 +8,6 @@ for i in $(find /srv/slapgrid -type d -name "slappart*"|sed 's#.*slappart\([0-9]
echo "slappart$i $TYPE $TITLE";
fi
done | column -t
echo && echo "Software list:" && echo
cd /opt/slapgrid
grep -sHIR extends $(find . -maxdepth 2 -type f -name "buildout.cfg") | sed 's/^.\/\(.*\)\/.* = \(.*\)/\1 \2/g'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment