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

Vratislav Podzimek vpodzime at redhat.com
Mon Jul 29 13:04:42 UTC 2013


On Mon, 2013-07-29 at 14:55 +0200, Radek Vykydal wrote:
> 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
>  
Looks good to me.

-- 
Vratislav Podzimek

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



More information about the anaconda-patches mailing list