appvm: create /home/user in core-appvm %post

This is needed when the template image is created using yum --installroot, rather
than regular installation process.
This commit is contained in:
Joanna Rutkowska 2010-06-18 01:52:01 +02:00
parent 247feaa34d
commit af7bbccf9c

View File

@ -89,6 +89,7 @@ exit 0
fi fi
usermod -L root usermod -L root
adduser --create-home user
usermod -L user usermod -L user
if ! [ -f /var/lib/qubes/serial.orig ] ; then if ! [ -f /var/lib/qubes/serial.orig ] ; then
cp /etc/init/serial.conf /var/lib/qubes/serial.orig cp /etc/init/serial.conf /var/lib/qubes/serial.orig