RE: Re: %post and mounting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



you could also run %post with nochroot
 %post --nochroot

then your source is at /mnt/source
and your installed system is at /mnt/sysimage
  cp /mnt/source/foo.bar /mnt/sysimage/home/test

of course this is only useful if your doing a network install
 and the files you want are in or linked to your source install tree on your
server
also any commands you want to run on your installed system will need to be
 chroot  i.e.
   chroot /mnt/sysimage useradd foo





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux