diff options
| author | 张智涵 <[email protected]> | 2019-12-30 13:01:59 +0800 |
|---|---|---|
| committer | 张智涵 <[email protected]> | 2019-12-30 13:01:59 +0800 |
| commit | 4efa39037e1d45fc3fcdf3e7548fc8b9ec994995 (patch) | |
| tree | 9001619f481319cff29266e9eef9cf8319b571b5 | |
| parent | a236eaaf20ebfca5765ef056f9cd8c05219aed4b (diff) | |
Upload New File
| -rw-r--r-- | roles/tsg-env-mcn0/files/tsg-env_stop | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/tsg-env-mcn0/files/tsg-env_stop b/roles/tsg-env-mcn0/files/tsg-env_stop new file mode 100644 index 0000000..1048f28 --- /dev/null +++ b/roles/tsg-env-mcn0/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 |
