refactor vagrant init process

Signed-off-by: rootfs <hchen@redhat.com>