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:
parent
247feaa34d
commit
af7bbccf9c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user