summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/cobbler/snippets/log_ks_pre
blob: 98eeb23bbc388f882656e02198e723e233dba4c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
set -x -v
exec 1>/tmp/ks-pre.log 2>&1

# Once root's homedir is there, copy over the log.
while : ; do
    sleep 10
    if [ -d /mnt/sysimage/root ]; then
        cp /tmp/ks-pre.log /mnt/sysimage/root/
        logger "Copied %pre section log to system"
        break
    fi
done &