RE: issue in CD not ejecting at the end of OS installation

2013-10-21 Thread Edison, Arul (GE Healthcare)
Hi All,
In the kick start file, I have mentioned eject at post section at the 
end. Still installation DVD is not ejecting . suggestion on what needs to be 
configured is welcome
 
#platform=x86, AMD64, or Intel EM64T
#version=DEVEL
# Firewall configuration
firewall --disabled
install
cdrom
graphical
firstboot --disable
keyboard us
lang en_US
selinux --disabled
logging --level=info
.

%packages
%post
eject
%end

-Original Message-
From: owner-scientific-linux-us...@listserv.fnal.gov 
[mailto:owner-scientific-linux-us...@listserv.fnal.gov] On Behalf Of Edison, 
Arul (GE Healthcare)
Sent: Monday, October 21, 2013 3:54 PM
To: scientific-linux-users@fnal.gov
Subject: issue in CD not ejecting at the end of OS installation

HI,
I am porting my application from Redhat to Scientific Linux 6.3 
 In Scientific Linux the CD is not ejecting at the end of installation 
though I have added eject at the end of my kick start file.  Can someone point 
how to fix this issue

Thanks,
Arul


Re: issue in CD not ejecting at the end of OS installation

2013-10-21 Thread Michael Tiernan

On 10/21/13 8:12 AM, Edison, Arul (GE Healthcare) wrote:

Hi All,
In the kick start file, I have mentioned eject at post section at the 
end. Still installation DVD is not ejecting . suggestion on what needs to be 
configured is welcome
   
I've been forced to use a hammer (figuratively) to make the eject work 
until I could sort out (not yet) why a smple 'eject' command didn't work 
in the kickstart file.


The commands I've experimented with are at the end of my postinstall 
section:

eject -v cdrom
#eject -v -a on cdrom
#eject -v -r -a on cdrom
#eject -v -r -a on /dev/cdrom

As you can see, for the moment the first is working for me as I want, 
the verbose flag is just because and I've not messed with success since.


I'm open to other approaches, I've just been wrapped up in my own efforts.

--
MCTMichael C Tiernan xmpp:mtier...@mit.edu +1 (617) 324-9173
  MIT - Laboratory for Nuclear Science - http://www.lns.mit.edu
  High Perf Research Computing Facility at The Bates Linear Accelerator
Please avoid sending me MS-Word or MS-PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html




smime.p7s
Description: S/MIME Cryptographic Signature


RE: issue in CD not ejecting at the end of OS installation

2013-10-21 Thread Paul Robert Marino
Eject is a valid kickstart directive you don't need to put it in a post. Additionally if you don't include the eject package in your package then in a post statement it won't work because the post by default execute chrooted into the installed OS-- Sent from my HP Pre3On Oct 21, 2013 8:13, Edison, Arul (GE Healthcare) aruljeyananth.jamesedi...@ge.com wrote: Hi All,
	In the kick start file, I have mentioned eject at post section at the end. Still installation DVD is not ejecting . suggestion on what needs to be configured is welcome
 
#platform=x86, AMD64, or Intel EM64T
#version=DEVEL
# Firewall configuration
firewall --disabled
install
cdrom
graphical
firstboot --disable
keyboard us
lang en_US
selinux --disabled
logging --level=info
.

%packages
%post
eject
%end

-Original Message-
From: owner-scientific-linux-us...@listserv.fnal.gov [mailto:owner-scientific-linux-us...@listserv.fnal.gov] On Behalf Of Edison, Arul (GE Healthcare)
Sent: Monday, October 21, 2013 3:54 PM
To: scientific-linux-users@fnal.gov
Subject: issue in CD not ejecting at the end of OS installation

HI,
I am porting my application from Redhat to Scientific Linux 6.3 
	 In Scientific Linux the CD is not ejecting at the end of installation though I have added eject at the end of my kick start file.  Can someone point how to fix this issue
	
Thanks,
Arul

Re: issue in CD not ejecting at the end of OS installation

2013-10-21 Thread Michael Tiernan

On 10/21/13 11:43 AM, Paul Robert Marino wrote:
Eject is a valid kickstart directive you don't need to put it in a 
post. Additionally if you don't include the eject package in your 
package then in a post statement it won't work because the post by 
default execute chrooted into the installed OS


Yes it is valid but, as seems to be the case at times, the system didn't 
read the book.
I put it in post because 'eject' wasn't working and I needed to fix it 
sooner than later.

(And yes, eject was installed on the system when tested.)

--
MCTMichael C Tiernan xmpp:mtier...@mit.edu +1 (617) 324-9173
  MIT - Laboratory for Nuclear Science - http://www.lns.mit.edu
  High Perf Research Computing Facility at The Bates Linear Accelerator
Please avoid sending me MS-Word or MS-PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html




smime.p7s
Description: S/MIME Cryptographic Signature