add support for creating kernel core directory while starting the instance