fix Bug 6715

clean up cache in /var/cache/cloud/
This commit is contained in:
frank 2011-01-04 18:05:35 -08:00 committed by Frank
parent 67928262f0
commit 6cc00a2f8a
1 changed files with 1 additions and 0 deletions

View File

@ -360,6 +360,7 @@ fi
%pre client
id %{name} > /dev/null 2>&1 || /usr/sbin/useradd -M -c "Cloud.com unprivileged user" \
-r -s /bin/sh -d %{_sharedstatedir}/%{name}/management %{name}|| true
rm -rf %{_localstatedir}/cache/%{name}
# user harcoded here, also hardcoded on wscript
%post client