modify inogenerator

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>