preinst is in ovirt-guest-agent 1.0.13.dfsg-2.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | #!/bin/sh
set -e
getent group ovirtagent >/dev/null || \
if [ -z "`getent group 175`" ]; then
groupadd -r -g 175 ovirtagent
else
groupadd -r ovirtagent
fi
getent passwd ovirtagent > /dev/null || \
useradd -u 175 -g ovirtagent -o -r ovirtagent -c "oVirt Guest Agent" \
-d /usr/share/ovirt-guest-agent -s /sbin/nologin
|