Bug 1318602

Summary: preupgrade.ks is not in directory /root/preupgrade/kickstart
Product: Red Hat Enterprise Linux 6 Reporter: Tereza Cerna <tcerna>
Component: preupgrade-assistantAssignee: Petr Hracek <phracek>
Status: CLOSED ERRATA QA Contact: Tereza Cerna <tcerna>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.8CC: fkluknav, phracek, pstodulk, thozza, ttomecek
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: preupgrade-assistant-2.1.6.post41-6.el6 Doc Type: Bug Fix
Doc Text:
The Preupgrade Assistant now generates the preupgrade.ks file to the /root/preupgrade/kickstart/ directory.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 08:56:41 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:
Bug Depends On:    
Bug Blocks: 1335121    

Description Tereza Cerna 2016-03-17 10:31:11 UTC
Kickstart file preupgrade.ks is generated by preupgrade assistant to directory /root/preupgrade. There is also new directory /root/preupgrade/kickstart with other kickstart files. It is a little confusing why preupgrade.ks file is not in kickstart directory. Can it by moved? This change would be in RHEL-5 and RHEL-6.

Reproducer:
# preupg
# preupg --migration
# ls -ld /root/preupgrade/kickstart /root/preupgrade/preupgrade.ks
drwxr-xr-x 3 root root    4096 Mar 17 05:57 /root/preupgrade/kickstart
-rw-r--r-- 1 root root 1769475 Mar 17 05:57 /root/preupgrade/preupgrade.ks

Version:
preupgrade-assistant-2.1.5-2

Comment 2 Petr Hracek 2016-04-25 10:41:47 UTC
Good point,
I don't have a problem to change it. What do you think about it?

Comment 6 Tereza Cerna 2016-06-30 10:30:39 UTC
Verified in RHEL-6:
   preupgrade-assistant-2.1.6.post41-6.el6.noarch
   preupgrade-assistant-el6toel7-0.6.49-1.el6.noarch

File preupgrade.ks was moved to directory /root/preupgrade/kickstart.

# preupg
# preupg-kickstart-generator 
The Preupgrade Assistant generates a kickstart file in '/root/preupgrade/kickstart/preupgrade.ks'.
...
# find /root/preupgrade | grep preupgrade.ks
/root/preupgrade/kickstart/preupgrade.ks
#

Comment 8 errata-xmlrpc 2016-11-04 08:56:41 UTC
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.

https://rhn.redhat.com/errata/RHBA-2016-2616.html