[PATCH anaconda-dracut master] For vnc require network in intramfs (#989156)

Radek Vykydal rvykydal at redhat.com
Mon Jul 29 12:55:26 UTC 2013


So that cmdline network configuration is applied.
---
 dracut/parse-anaconda-options.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dracut/parse-anaconda-options.sh b/dracut/parse-anaconda-options.sh
index b9bc084..ed2ec75 100755
--- a/dracut/parse-anaconda-options.sh
+++ b/dracut/parse-anaconda-options.sh
@@ -124,6 +124,9 @@ if updates=$(getarg updates inst.updates); then
     fi
 fi
 
+# for vnc bring network up in initramfs so that cmdline configuration is used
+getargbool 0 vnc && warn "anaconda requiring network for vnc" && set_neednet
+
 # make sure we get ifcfg for every interface that comes up
 echo 'save_netinfo $netif' > $hookdir/initqueue/online/anaconda-ifcfg.sh
 
-- 
1.7.11.7



More information about the anaconda-patches mailing list