|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
欢迎大家来到仓酷云论坛!vmware或kvmxen范例的假造机,克隆镜像后,新的Centos没法启动收集,提醒Deviceeth0doesnotseemtobepresent,delayinginitialization.
已知的两个办理举措:
- (1)
- mv/etc/sysconfig/network-scripts/ifcfg-eth0/etc/sysconfig/network-scripts/ifcfg-eth1
- vi/etc/sysconfig/network-scripts/ifcfg-eth0
- 间接改成
- DEVICE=eth1
- TYPE=Ethernet
- ONBOOT=YES
- NM_CONTROLLED=yes
- BOOTPROTO=static
- IPADDR=YourIP
- GATEWAY=YourGateWay
- NETMASK=255.255.255.0
- servicenetworkrestart就起来了,网卡是eth1
- (2)
- vi/etc/sysconfig/network-scripts/ifcfg-eth0
- DEVICE=eth0
- TYPE=Ethernet
- ONBOOT=YES
- NM_CONTROLLED=yes
- BOOTPROTO=static
- IPADDR=YourIP
- GATEWAY=YourGateWay
- NETMASK=255.255.255.0
- #DEVICEIPADDR等都要年夜写
- rm-f/etc/udev/rules.d/70-persistent-net.rules
- reboot
欢迎大家来到仓酷云论坛! |
|