Bug 811117
Summary: | [RFE][virt-sysprep] net-hwaddr not removed from "ifcfg-*" files on rhel | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Qin Guan <qguan> |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 6.2 | CC: | leiwang, moli, qwan, yuzhou |
Target Milestone: | rc | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libguestfs-1.16.18-2.el6 | Doc Type: | Enhancement |
Doc Text: |
No Documentation needed
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-20 07:01:46 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Qin Guan
2012-04-10 07:47:11 UTC
Upstream commit: https://github.com/libguestfs/libguestfs/commit/5e054f873198b83947de328777d9ced3bfa39ad5 This fix will be backported to libguestfs 1.16.16. Verified with libguestfs-tools-1.16.18-2.el6.x86_64. Before fix (libguestfs-tools-1.16.15-1.el6.x86_64): # guestfish --ro -a rhel.raw -i cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes HWADDR=52:54:00:19:22:B5 # virt-sysprep -a rhel.raw # guestfish --ro -a rhel.raw -i cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes HWADDR=52:54:00:19:22:B5 After fix: # guestfish --ro -a rhel.raw -i cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes HWADDR=52:54:00:19:22:B5 # virt-sysprep -a rhel.raw # guestfish --ro -a rhel.raw -i cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: No Documentation needed Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2012-0774.html |