[
https://issues.apache.org/jira/browse/VCL-961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15383201#comment-15383201
]
ASF subversion and git services commented on VCL-961:
-----------------------------------------------------
Commit 1753324 from [email protected] in branch 'vcl/trunk'
[ https://svn.apache.org/r1753324 ]
VCL-961
Added subroutines to Linux.pm:
get_ifcfg_file_info
get_network_bridge_info
Rewrote Linux.pm::enable_dhcp. It now checks if an interface is bridged and
does not overwrite bridge or most other custom configurations. It selectively
removes certain parameters which are specific to a particular network or
computer.
Added ifcfg-* backup files to $CAPTURE_DELETE_FILE_PATHS to prevent backups
from accumulating. When an image is captured, a single backup should remain
since enable_dhcp is called after clean_known_files.
> VCL may clobber custom network configurations on Red Hat 6.x-based images
> -------------------------------------------------------------------------
>
> Key: VCL-961
> URL: https://issues.apache.org/jira/browse/VCL-961
> Project: VCL
> Issue Type: Improvement
> Components: vcld (backend)
> Affects Versions: 2.4.2
> Reporter: Andy Kurth
> Assignee: Andy Kurth
> Fix For: 2.5
>
>
> During image capture, vcld recreates
> /etc/sysconfig/network-scripts/ifcfg-eth0 and ifcfg-eth0 with a very simple
> DHCP configuration. This breaks things if the image creator configured a
> bridged interface.
> The code should be updated to intelligently reconfigure these files when
> enabling DHCP, leaving a bridge intact if configured.
> Any Red Hat 6.x and earlier based image is affected including CentOS 6.x.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)