[master/f20] Include the journal log on installed system

Vratislav Podzimek vpodzime at redhat.com
Mon Oct 14 08:16:30 UTC 2013


On Fri, 2013-10-11 at 16:06 -0700, Brian C. Lane wrote:
> From: "Brian C. Lane" <bcl at redhat.com>
> 
> ---
>  data/post-scripts/99-copy-logs.ks | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/data/post-scripts/99-copy-logs.ks b/data/post-scripts/99-copy-logs.ks
> index 1a60756..0060b90 100644
> --- a/data/post-scripts/99-copy-logs.ks
> +++ b/data/post-scripts/99-copy-logs.ks
> @@ -11,6 +11,7 @@ mkdir -p /mnt/sysimage/var/log/anaconda
>  [ -e /tmp/ifcfg.log ] && cp /tmp/ifcfg.log $ANA_INSTALL_PATH/var/log/anaconda/anaconda.ifcfg.log
>  [ -e /tmp/yum.log ] && cp /tmp/yum.log $ANA_INSTALL_PATH/var/log/anaconda/anaconda.yum.log
>  cp /tmp/ks-script*.log $ANA_INSTALL_PATH/var/log/anaconda/
> +journalctl -b > $ANA_INSTALL_PATH/var/log/anaconda/anaconda.journal.log
>  chmod 0600 /mnt/sysimage/var/log/anaconda/*
>  
>  %end
ACK. Do you think we should add the '-b' option to the python-meh
callback for grabbing journal?

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list