On 2011-04-19,at 16:29:57, Amos Kong wrote:

>发送日期:2011-04-19 16:29:57
>收件人:wuyu8242
>抄送:Lucas Meneghel Rodrigues; autotest
>主题:Re: Re: Re: [Autotest] [PATCH 1/3] KVM-test: Add scripttosetupprivatebridge
>> 
>* On Tue, Apr 19, 2011 at 04:20:45PM +0800, wuyu8242 wrote:
>
>...
>> >> when I deleted the mac entry(hwaddr variant)  in ifcfg-eth0 of guest, but 
>> >> restart the network service failed. After reboot guest, although the 
>> >> hwaddr variant cannot be assigned mac, this issue still be there. so this 
>> >> mathod doesn't work well. 
>> >> Besides, it should not be modified by hand, this modifying should be made 
>> >> by autotest framework. 
>> >
>> >Actually, we clean this entry by unattended_install(kickstart).
>> Then, if i don't run the  unattended_install case in a test, this entry will 
>> be the old one?  that is to say, when i add the boot, ping, shutdown to the 
>> test, after running the boot case, the entry is the same one as ping case?
>
>unattended_install is used to install guest(preparing images for us), if you 
>remove the mac entry here, the entry will not exist when you execute other 
>tests.
yes, I see. I understand you. but I remove the mac entry in boot case, the ip 
still cannot be gotten in other tests. and I don't add the NETMASK and the 
GATEWAY variants to the ifcfg-eth0 file. what's wrong with it? and how i can do 
to get the ip from my dhcp? that is, How do I keep the mac value of ifconfig 
consistent with the hwaddr value of ifcfg-eth0?  if i remove the hwaddr value 
in ifcfg-eth0, the question don't resolved.

>.
>


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

Reply via email to