]> git.ipfire.org Git - people/ms/network.git/commitdiff
Add recipe to reset network configuration
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Sat, 28 Jul 2018 11:59:13 +0000 (13:59 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 28 Jul 2018 12:25:22 +0000 (13:25 +0100)
We use --force here to avoid the y/n question.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am
test/nitsi/include/network-reset [new file with mode: 0644]

index e56d0fb1db6f2bfa3aa465a4b9a36313861a3284..beb49ff357f4cad23b1ed75a88f28276ffe51bfb 100644 (file)
@@ -586,10 +586,12 @@ VIRTUAL_ENVIRONMENT_IMAGES_DOWNLOAD_URL = \
        https://people.ipfire.org/~jschlag/nitsi-ipfire/virtual-environment/basic/
 
 NITSI_INCLUDE_RECIPES = \
-       test/nitsi/include/make-install
+       test/nitsi/include/make-install \
+       test/nitsi/include/network-reset
 
 EXTRA_DIST += \
        test/nitsi/include/make-install.in
+       test/nitsi/include/network-reset
 
 CLEANFILES += \
        test/nitsi/include/make-install
diff --git a/test/nitsi/include/network-reset b/test/nitsi/include/network-reset
new file mode 100644 (file)
index 0000000..d82e2b1
--- /dev/null
@@ -0,0 +1 @@
+all: network reset --force