diff options
| author | 张智涵 <[email protected]> | 2019-12-30 13:03:31 +0800 |
|---|---|---|
| committer | 张智涵 <[email protected]> | 2019-12-30 13:03:31 +0800 |
| commit | 50ad47787920ca583c55fb706d88779a0f1587dc (patch) | |
| tree | 3017e2aa773ebfecd574e47d0918cea425d4faf9 | |
| parent | 23b447a97187c25fe936ccd84aad272d0ea187bc (diff) | |
Upload New File
| -rw-r--r-- | roles/tsg-env-mcn3/files/tsg-env_stop | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/tsg-env-mcn3/files/tsg-env_stop b/roles/tsg-env-mcn3/files/tsg-env_stop new file mode 100644 index 0000000..c5ce519 --- /dev/null +++ b/roles/tsg-env-mcn3/files/tsg-env_stop @@ -0,0 +1,6 @@ +#!/bin/bash +# +echo 0 >/sys/class/net/ens8/device/sriov_numvfs +ifconfig ens8.100 down +vconfig rem ens8.100 +ifconfig ens8 down |
