From: Jonatan Schlag Date: Fri, 11 May 2018 12:29:58 +0000 (+0200) Subject: Move tests and virtual environment example into examples subfolder X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a7c774c7ad93ba2d40403f75e5583da3fb21a278;p=people%2Fjschlag%2Fnitsi.git Move tests and virtual environment example into examples subfolder Fixes: #11723 Signed-off-by: Jonatan Schlag --- diff --git a/examples/test/recipe b/examples/test/recipe new file mode 100644 index 0000000..c035b97 --- /dev/null +++ b/examples/test/recipe @@ -0,0 +1,6 @@ +alice: echo "Hello World" +bob: echo "Hello World" +alice: ls -l +all: blkid +alice,bob !: eecho "This is a comma seperated list" +include: ../test2 diff --git a/examples/test/settings b/examples/test/settings new file mode 100644 index 0000000..d390dc0 --- /dev/null +++ b/examples/test/settings @@ -0,0 +1,12 @@ +[DEFAULT] +Name = Hello World +Description = This is a + short description. + +Copy_from = +Copy_to = /root/ + +[VIRTUAL_ENVIRONMENT] +Name = basic +path = ../virtual-environment/basic + diff --git a/examples/test2/recipe b/examples/test2/recipe new file mode 100644 index 0000000..7f96a65 --- /dev/null +++ b/examples/test2/recipe @@ -0,0 +1,2 @@ +alice: echo "This is test2 on alice" +include: ../test3 diff --git a/examples/test2/settings b/examples/test2/settings new file mode 100644 index 0000000..616e1a0 --- /dev/null +++ b/examples/test2/settings @@ -0,0 +1,9 @@ +[DEFAULT] +Name = Hello World +Description = This is a + short description. + +[VIRTUAL_ENVIRONMENT] +Name = basic +path = ../virtual-environment/basic + diff --git a/examples/test3/recipe b/examples/test3/recipe new file mode 100644 index 0000000..5382623 --- /dev/null +++ b/examples/test3/recipe @@ -0,0 +1,2 @@ +alice: echo "This is test3 on alice" +all: echo "This is test3 on all" \ No newline at end of file diff --git a/examples/test3/settings b/examples/test3/settings new file mode 100644 index 0000000..616e1a0 --- /dev/null +++ b/examples/test3/settings @@ -0,0 +1,9 @@ +[DEFAULT] +Name = Hello World +Description = This is a + short description. + +[VIRTUAL_ENVIRONMENT] +Name = basic +path = ../virtual-environment/basic + diff --git a/examples/virtual-environment/basic/machines/alice/machine.xml b/examples/virtual-environment/basic/machines/alice/machine.xml new file mode 100644 index 0000000..2f7d0f5 --- /dev/null +++ b/examples/virtual-environment/basic/machines/alice/machine.xml @@ -0,0 +1,111 @@ + + alice + 76eb4b45-158b-435d-84eb-0bdc0aafd1f8 + 1048576 + 1048576 + 1 + + hvm + + + + + + + + + Broadwell-noTSX + + + + + + + destroy + restart + restart + + + + + + /usr/bin/kvm + + + + +
+ + +
+ + + +
+ + + +
+ + + +
+ + + +
+ + + + + +
+ + + + + +
+ + + + + + + + + +
+ + + +
+ + +
+ + + + + + + + +
+ +