From 89d01e6b1b10e687569e0f9ad36d3aa4058b8e6d Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Fri, 18 Jun 2010 01:52:01 +0200 Subject: [PATCH] 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. --- rpm_spec/core-appvm.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/rpm_spec/core-appvm.spec b/rpm_spec/core-appvm.spec index 520f617..5059326 100644 --- a/rpm_spec/core-appvm.spec +++ b/rpm_spec/core-appvm.spec @@ -89,6 +89,7 @@ exit 0 fi usermod -L root +adduser --create-home user usermod -L user if ! [ -f /var/lib/qubes/serial.orig ] ; then cp /etc/init/serial.conf /var/lib/qubes/serial.orig