diff options
author | Will Woods <wwoods@redhat.com> | 2012-04-02 16:46:22 -0400 |
---|---|---|
committer | Will Woods <wwoods@redhat.com> | 2012-04-03 16:37:45 -0400 |
commit | f1c3eddf04e0a0110ca580e54a39265d975c35b2 (patch) | |
tree | 0f4c5e81e25ac48f398ef29e2bf5c24c87d6bdd4 /dracut/anaconda-netroot.sh | |
parent | 269673b2700eca3103bf6c440aceaadd968f0d28 (diff) | |
download | anaconda-f1c3eddf04e0a0110ca580e54a39265d975c35b2.tar.gz anaconda-f1c3eddf04e0a0110ca580e54a39265d975c35b2.tar.xz anaconda-f1c3eddf04e0a0110ca580e54a39265d975c35b2.zip |
dracut: don't do kickstart twice, don't use root.info
Empty "$kickstart" in run_kickstart, so we don't end up looking for the
kickstart again - and don't run fetch-kickstart-disk if it already ran.
Also, newer dracut doesn't bother with root.info so neither should we.
Diffstat (limited to 'dracut/anaconda-netroot.sh')
-rwxr-xr-x | dracut/anaconda-netroot.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dracut/anaconda-netroot.sh b/dracut/anaconda-netroot.sh index 2486e303b..a7bdb153a 100755 --- a/dracut/anaconda-netroot.sh +++ b/dracut/anaconda-netroot.sh @@ -4,8 +4,7 @@ command -v getarg >/dev/null || . /lib/dracut-lib.sh -# get repo and root info -[ -e /tmp/root.info ] && . /tmp/root.info +# get repo info repo=$(getarg repo= inst.repo=) # no repo? non-net root? we're not needed here. |