Removing old linux in the %pre section

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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,
_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux