Fedora 18 static network working?

Scott Poore spoore at redhat.com
Thu Oct 4 20:38:29 UTC 2012


> 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


More information about the test mailing list