Removing old linux in the %pre section

niall el-assaad niallel at gmail.com
Mon Sep 15 22:00:39 UTC 2008


Hi,

I've got a fc6 build that I want to move to centos, i just want to keep a
single directory.

Is there some way in the %pre section I could delete all the directories off
the disk (apart from 1) and then have kickstart continue and install centos?

I've tried but the %pre section doesn't seem to work. I'm using
/mnt/sysimage to access the hard disk, but doesn't seem to work.

Any ideas?

thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20080915/87d9e2b4/attachment.htm>


More information about the Kickstart-list mailing list