Add rc.local for host* that explains which vpp:port it is connected to
This commit is contained in:
5
build/frr/hvn1.lab.ipng.ch/host1-1/etc/rc.local
Normal file
5
build/frr/hvn1.lab.ipng.ch/host1-1/etc/rc.local
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
for port in 0 1 2 3; do
|
||||
ip link set enp16s0f${port} up mtu 1500 alias "vpp1-${port}:Gi10/0/3"
|
||||
done
|
||||
@@ -4,4 +4,4 @@ echo " * Disabling VPP, Bird and FRR"
|
||||
for i in vpp vppcfg bird-dataplane frr; do
|
||||
rm -f /etc/systemd/system/multi-user.target.wants/${i}.service
|
||||
ln -sf /dev/null /etc/systemd/system/${i}.service
|
||||
done
|
||||
done
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "* Fixing permissions of rc.local"
|
||||
chmod 755 /etc/rc.local
|
||||
Reference in New Issue
Block a user