We using --force here to avoid the interactive y/n question.
This recipe is available in two version one for a setup with multiple machines and one for a setup with alice only.
Signed-off-by: Jonatan Schlag jonatan.schlag@ipfire.org --- Makefile.am | 8 ++++++-- test/nitsi/include/alice_network-reset | 1 + test/nitsi/include/network-reset | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 test/nitsi/include/alice_network-reset create mode 100644 test/nitsi/include/network-reset
diff --git a/Makefile.am b/Makefile.am index bde49ff..66d2e8d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -587,11 +587,15 @@ VIRTUAL_ENVIRONMENT_IMAGES_DOWNLOAD_URL = \
NITSI_INCLUDE_RECIPES = \ test/nitsi/include/make-install \ - test/nitsi/include/alice_make-install + test/nitsi/include/alice_make-install \ + test/nitsi/include/alice_network-reset \ + test/nitsi/include/network-reset
EXTRA_DIST += \ test/nitsi/include/make-install.in \ - test/nitsi/include/alice_make-install.in + test/nitsi/include/alice_make-install.in \ + test/nitsi/include/alice_network-reset \ + test/nitsi/include/network-reset
CLEANFILES += \ test/nitsi/include/make-install \ diff --git a/test/nitsi/include/alice_network-reset b/test/nitsi/include/alice_network-reset new file mode 100644 index 0000000..cfb3bd5 --- /dev/null +++ b/test/nitsi/include/alice_network-reset @@ -0,0 +1 @@ +alice: network reset --force diff --git a/test/nitsi/include/network-reset b/test/nitsi/include/network-reset new file mode 100644 index 0000000..d82e2b1 --- /dev/null +++ b/test/nitsi/include/network-reset @@ -0,0 +1 @@ +all: network reset --force