Fedora 18 static network working?

Adam Williamson awilliam at redhat.com
Fri Oct 5 02:14:46 UTC 2012


On Thu, 2012-10-04 at 20:08 -0600, Orion Poplawski wrote:
> On 10/04/2012 02:38 PM, Scott Poore wrote:
> >> Has anyone tried setting network manually (static instead of DHCP) in
> >> the newUI or in a ks.cfg?
> >>
> >> In both cases, for me anyway, the host comes up using DHCP.
> >>
> >> Has anyone else seen this?  Or is this not yet implemented/enabled?
> >>
> >
> > I just tried a kickstart of F18 Beta TC1 and I'm seeing the same issue.
> >
> > I'm using this line in my ks.cfg:
> >
> > network  --bootproto=static --gateway=192.168.122.1 --ip=192.168.122.181 --nameserver=192.168.122.1 --netmask=255.255.255.0
> >
> > But, /etc/sysconfig/network-scripts/ifcfg-eth0 shows this:
> >
> > BOOTPROTO="dhcp"
> > ONBOOT="yes"
> >
> >
> > This is while doing an iso based install to a KVM guest with virt-install:
> >
> > virt-install --connect=qemu:///system \
> >      --network=bridge:virbr0 \
> >      --initrd-inject=./${VMNAME}.ks \
> >      --extra-args="ks=file:/${VMNAME}.ks $EXTRAARGS" \
> >      --name=$VMNAME \
> >      --disk path=$DISKIMAGE,format=qcow2,size=8 \
> >      --ram 1024 \
> >      --vcpus=1 \
> >      --check-cpu \
> >      --hvm \
> >      --location=$OSIMG \
> >      --vnc --video=vga
> >
> >
> > So, is that a function of newUI setting networking out of KS?
> >
> > Thanks,
> > Scott
> >
> 
> Please file a bug.

Indeed - and looking at /etc/sysconfig/network-scripts is kind of
indirect. Surely the output of 'ip addr' or 'ifconfig' would be more
useful as an indication of what anaconda is actually *using*.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net



More information about the test mailing list