aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/cobbler/snippets/log_ks_pre
blob: fe71c592977481cf5244b3adc2e92c594e4d940d (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 &