你好,游客 登录 注册 搜索
背景:
阅读新闻

Red Hat企业版5 卸载virbr0

[日期:2013-01-16] 来源:Linux社区  作者:gexueyuan [字体: ]

如果创建过虚拟机那么使用# yum groupremove "Virtualization"来卸载所有组件

输出为:

Loading "rhnplugin" plugin
Loading "security" plugin
Setting up Group Process
rhel-x86_64-server-vt-5  100% |=========================| 1.4 kB    00:00
rhn-tools-rhel-x86_64-ser 100% |=========================| 1.2 kB    00:00
rhel-x86_64-server-5      100% |=========================| 1.4 kB    00:00
No package matched to remove
No package matched to remove
No package matched to remove
No package matched to remove
No package matched to remove
Resolving Dependencies
--> Running transaction check
---> Package libvirt.x86_64 0:0.3.3-7.el5 set to be erased
--> Processing Dependency: libvirt.so.0()(64bit) for package: libvirt-python
--> Processing Dependency: libvirt = 0.3.3 for package: libvirt-python
--> Running transaction check
---> Package libvirt-python.x86_64 0:0.3.3-7.el5 set to be erased
--> Processing Dependency: libvirt-python for package: rhn-virtualization-host
--> Running transaction check
---> Package rhn-virtualization-host.noarch 0:1.0.1-55 set to be erased
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
 Package                Arch      Version          Repository        Size
=============================================================================
Removing:
 libvirt                x86_64    0.3.3-7.el5      installed        3.4 M
Removing for dependencies:
 libvirt-python          x86_64    0.3.3-7.el5      installed        230 k
 rhn-virtualization-host  noarch    1.0.1-55        installed        155 k
Transaction Summary
=============================================================================
Install      0 Package(s)
Update      0 Package(s)
Remove      3 Package(s)
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing  : libvirt-python              ######################### [1/3]
  Erasing  : rhn-virtualization-host      ######################### [2/3]
Stopping crond: [  OK  ]
Starting crond: [  OK  ]
  Erasing  : libvirt                      ######################### [3/3]
Removed: libvirt.x86_64 0:0.3.3-7.el5
Dependency Removed: libvirt-python.x86_64 0:0.3.3-7.el5 rhn-virtualization-host.noarch 0:1.0.1-55
Complete!

如果没有创建虚拟机,那么使用如下步骤来卸载虚拟网卡:

# yum remove rhn-virtualization-host
# yum remove libvirt-python
# yum remove libvirt
# ifconfig

linux
相关资讯       virbr0 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款