Revert "use vm config"

This reverts commit a5592cfd8fa2bfec04feb33e70f4bf1dae970be8.