Bug 479893

Summary: Live Hard Drive install shouldn't mangle the ifcfg-* files
Product: [Fedora] Fedora Reporter: Warren Togami <wtogami>
Component: anacondaAssignee: David Cantrell <dcantrell>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: anaconda-maint-list
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-15 15:30:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 188611    

Description Warren Togami 2009-01-13 21:33:54 UTC
/etc/sysconfig/network-scripts/ifcfg-ltspbr0

k12linux.org Live Server spin has an installed file defining a private bridge.  This bridge runs during LiveCD runtime just fine.  However "Install to Hard Drive" rewrites this file to a nearly blank state removing the IP address and other options needed.

dcantrell said Live Hard Drive install should skip this ifcfg-* rewriting step.

Comment 1 David Cantrell 2009-01-13 21:41:32 UTC
We need to do this:

---
 network.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/network.py b/network.py
index b50605e..98cde5d 100644
--- a/network.py
+++ b/network.py
@@ -516,6 +516,9 @@ class Network:
         return False
 
     def write(self, instPath='', anaconda=None):
+        if flags.livecdInstall:
+            return
+
         if len(self.netdevices.values()) == 0:
             return
 
-- 
1.6.0.3

Comment 2 David Cantrell 2009-01-15 15:30:00 UTC

*** This bug has been marked as a duplicate of bug 461550 ***