cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "YUAN, GUI -HBIS" <yuan-...@hbis.com.cn>
Subject RE: 模板mac问题
Date Fri, 23 Jan 2015 03:22:02 GMT
下面的文件里面记载着CentOS的网卡MAC,
但是当通过模板创建新的VM时,对应的MAC会发生改变,可下面的文件里不会自动更新成新的值。
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/udev/rules.d/70-persistent-net.rules

解决办法,
转成模板前:
/etc/sysconfig/network-scripts/ifcfg-eth0里的HWADDR=值清空
/etc/udev/rules.d/70-persistent-net.rules文件删除

>-----Original Message-----
>From: chen [mailto:cylin600@163.com]
>Sent: Friday, January 23, 2015 11:13 AM
>To: users-cn@cloudstack.apache.org
>Subject: 模板mac问题
>
>大家好,
>    我用4.2的版本,将安装的centos6.4的系统设置为模板,根据这个模板进
>行了设置,但是mac和模板一样,无法启动network,跟vmware克隆一样,mac
>设置完全一样,这是是要在模板进行修改还是可以通过api去修改,麻烦告诉下
>具体的解决方法。

Disclaimer:
The contents of this e-mail, and its attachments, if any, are confidential and may be protected
by law against any unauthorized use.  If you have received this e-mail by mistake or have
reason to believe that you are not the intended recipient, please notify the sender by reply
e-mail as soon as possible and delete it from your computer system immediately thereafter.
If you are not the intended recipient, you must not copy this e-mail or attachment or disclose
the contents to any other person.  While we have made every effort to keep our network virus
free,
we take no responsibility for any computer virus which might be transferred by way of this
e-mail
Mime
View raw message