How to rename Oracle Fusion Middleware (FMW) Fram Name after cloning
Edit the following script after you clone your FMW environment to change the farm name.