VMIs created from VM Template don’t have LiveMigrate evictionStrategy set

Ref: https://github.com/harvester/harvester/issues/2357

Verify Steps:

  1. Install Harvester with at least 2 nodes
  2. Create Image for VM Creation
  3. Navigate to Advanced/Templates and create a template t1
  4. Create VM vm1 from template t1
  5. Edit YAML of vm1, field spec.template.spec.evictionStrategy should be LiveMigrate
  6. Enable Maintenance Mode on the host which hosting vm1
  7. vm1 should start migrating automatically
  8. Migration should success