feat(automation/deployment): Added script to autodeploy and setup wedge and nodes
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
6
scripts/00-wedge_on_reboot.sh
Normal file → Executable file
6
scripts/00-wedge_on_reboot.sh
Normal file → Executable file
@@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
SDE_INSTALL=/home/user/bf-sde-9.7.0/install
|
||||
|
||||
# Run this script when:
|
||||
# When the switch has been restarted or you encounter the following error:
|
||||
# ```sh
|
||||
@@ -51,5 +53,5 @@
|
||||
# CHSS MGMT ERROR: Failed to configure cdc_eth ipv6
|
||||
# ```
|
||||
|
||||
sudo "$SDE_INSTALL/bin/bf_kpkt_mod_load" "$SDE_INSTALL"
|
||||
sudo ip link set "$(basename /sys/module/bf_kpkt/drivers/pci:bf/*/net/*)" up
|
||||
"$SDE_INSTALL/bin/bf_kpkt_mod_load" "$SDE_INSTALL"
|
||||
ip link set "$(basename /sys/module/bf_kpkt/drivers/pci:bf/*/net/*)" up
|
||||
|
||||
Reference in New Issue
Block a user