kvm: Mock .slapos-resource for tap_ipv4_addr

Since
slapos.core@a8917a3c
and slapos.core https://lab.nexedi.com/nexedi/slapos.core/tags/1.7.4 the
tap_ipv4_addr value is empty by default on the servers, especially test nodes.

To not rely on what is provided on the test environment simply mock the
configuration of the machine so that the test is able to prove profile
functionality.
36 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
passed Cloudooo.UnitTest-Master

00:10:00

failed ERP5.StandaloneDeploymentScriptTest-Debian.Buster

15:03:04

failed ERP5.StandaloneDeploymentScriptTest-Debian.Buster.Master

15:02:51

passed ERP5.StandaloneDeploymentScriptTest-Debian.Stretch

00:40:12

failed SlapOS-Master.StandaloneDeploymentScriptTest-Debian.Buster

15:02:57

passed SlapOS-Master.StandaloneDeploymentScriptTest-Debian.Stretch

00:40:05

passed SlapOS.Eggs.UnitTest-Master.Python2

00:11:57

passed SlapOS.Eggs.UnitTest-Master.Python3

00:14:02

passed SlapOS.SlapRunner.ResilienceTest-Master

00:22:13

failed SlapOS.SlapRunner.ResilienceTest-Master.ERP5

01:27:51

failed SlapOS.SoftwareReleases.IntegrationTest-Master.Python2

04:30:29

failed SlapOS.SoftwareReleases.IntegrationTest-Master.Python3

06:46:39

passed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster

00:25:05

failed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster.Master

15:02:55

failed Wendelin.StandaloneDeploymentScriptTest-Debian.Stretch

15:02:41

passed ERP5.StandaloneDeploymentScriptTest-Debian.Buster.Master

12:07:40

passed ERP5.StandaloneDeploymentScriptTest-Debian.Stretch

00:42:24

failed SlapOS-Master.StandaloneDeploymentScriptTest-Debian.Buster

15:02:45

passed SlapOS-Master.StandaloneDeploymentScriptTest-Debian.Stretch

00:44:00

passed SlapOS.Eggs.UnitTest-Master.Python2

00:11:59

passed SlapOS.Eggs.UnitTest-Master.Python2

00:17:20

passed SlapOS.Eggs.UnitTest-Master.Python2

00:12:45

passed SlapOS.Eggs.UnitTest-Master.Python3

00:13:33

passed SlapOS.Eggs.UnitTest-Master.Python3

00:22:25

passed SlapOS.Eggs.UnitTest-Master.Python3

00:15:07

passed SlapOS.SlapRunner.ResilienceTest-Master

00:23:18

passed SlapOS.SlapRunner.ResilienceTest-Master

00:23:12

passed SlapOS.SlapRunner.ResilienceTest-Master

00:22:31

failed SlapOS.SlapRunner.ResilienceTest-Master.ERP5

01:31:18

failed SlapOS.SlapRunner.ResilienceTest-Master.ERP5

01:29:18

failed SlapOS.SlapRunner.ResilienceTest-Master.ERP5

01:37:54

failed SlapOS.SlapRunner.ResilienceTest-Master.ERP5

01:28:29

failed SlapOS.SoftwareReleases.IntegrationTest-Master.Python2

04:17:50

passed SlapOS.SoftwareReleases.IntegrationTest-Master.Python3

04:23:53

passed Wendelin.StandaloneDeploymentScriptTest-Debian.Buster

00:37:55

failed Wendelin.StandaloneDeploymentScriptTest-Debian.Stretch

15:02:39