From 90c53dc87764b505c9f80551131d35f3b679f5f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=99=BA=E6=B6=B5?= Date: Mon, 30 Dec 2019 13:02:18 +0800 Subject: [PATCH] Upload New File --- roles/tsg-env-mcn1/files/tsg-env_stop | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 roles/tsg-env-mcn1/files/tsg-env_stop diff --git a/roles/tsg-env-mcn1/files/tsg-env_stop b/roles/tsg-env-mcn1/files/tsg-env_stop new file mode 100644 index 0000000..1048f28 --- /dev/null +++ b/roles/tsg-env-mcn1/files/tsg-env_stop @@ -0,0 +1,6 @@ +#!/bin/bash +# +echo 0 >/sys/class/net/ens1/device/sriov_numvfs +ifconfig ens1.100 down +vconfig rem ens1.100 +ifconfig ens1 down