From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonatan Schlag To: network@lists.ipfire.org Subject: [PATCH 2/3] This recipe resets the network to a clean state Date: Tue, 24 Jul 2018 11:09:50 +0200 Message-ID: <20180724090951.11769-2-jonatan.schlag@ipfire.org> In-Reply-To: <20180724090951.11769-1-jonatan.schlag@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2204854274748919607==" List-Id: --===============2204854274748919607== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 --- 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 =3D \ =20 NITSI_INCLUDE_RECIPES =3D \ 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 =20 EXTRA_DIST +=3D \ 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 =20 CLEANFILES +=3D \ test/nitsi/include/make-install \ diff --git a/test/nitsi/include/alice_network-reset b/test/nitsi/include/alic= e_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-re= set new file mode 100644 index 0000000..d82e2b1 --- /dev/null +++ b/test/nitsi/include/network-reset @@ -0,0 +1 @@ +all: network reset --force --=20 2.11.0 --===============2204854274748919607==--