optimize os version check methods
support to create custom image 支持创建自定义图片