On 10/21/2011 03:15 PM, pardha wrote:
> Hi Amos,
>
> Thanks for your support man.
>  
> It worked, but after every auto test installation
> (unattended_install.cdrom,) I need to boot the guest and manually delete
> entry HWADDR from ifcfg-eth0 file.
>
> I will do changes to autotest and send the patch..
>
> Can I know what exactly  the root cause..

I try to clean this line by this cmdline:

RHEL-6-series.ks:
...
%post
...
os.system('sed -i "/^HWADDR/d" /etc/sysconfig/network-scripts/ifcfg-eth0')


>
> On Fri, 2011-10-21 at 13:56 +0800, Amos Kong wrote:
>> On 10/21/2011 01:32 PM, pardha wrote:
>>> Hi Amos,
>>>
>>> Please find Outputs for various commands as an attachments.
>>>
>>>
>>> Regards,
>>> Pardha
>>>
>>>
>>>
>>> On Fri, 2011-10-21 at 12:38 +0800, Amos Kong wrote:
>>>> On 10/21/2011 12:12 PM, pardha wrote:
>>>>> Hi All,
>>>>>
>>>>>
>>>>> I am facing issues with the networking of RHEL4.8 guests(both 32 and 64
>>>>> bits) using autotest.
>>>>>
>>>>> After the guest installation is successfully over and it boots, it fails
>>>>> to get an IP allocated from the DHCP server.
>>>>>
>>>>> Manually logging in the guest, shows no eth* at all.
>>>>>
>>>>> Please help me to resolve this issue..
>>>> what's the output of the following commands?
>>>>
>>>> monitor)# info network
>>>> guest)# lspci |grep Eth
>>>> guest)# ifconfig -a
>>>> guest)# cat /etc/sysconfig/network-scripts/ifcfg-eth0
>> please delete this line "HWADDR=9A:8C:11:60:CE:2C" in ifcfg-eth0
>>
>>
>


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to