Update Proxmox/ThunderboltNetwork.md
This commit is contained in:
@@ -90,6 +90,7 @@ systemctl restart frr
|
|||||||
```
|
```
|
||||||
|
|
||||||
Make sure interface is coming up!
|
Make sure interface is coming up!
|
||||||
|
Idea coming from here => https://gist.github.com/scyto/67fdc9a517faefa68f730f82d7fa3570?permalink_comment_id=5077802#gistcomment-5077802
|
||||||
```python
|
```python
|
||||||
tee -a /usr/local/bin/restart-frr.sh <<EOF
|
tee -a /usr/local/bin/restart-frr.sh <<EOF
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
@@ -114,6 +115,7 @@ exit 1;
|
|||||||
EOF
|
EOF
|
||||||
chmod +x /usr/local/bin/restart-frr.sh
|
chmod +x /usr/local/bin/restart-frr.sh
|
||||||
|
|
||||||
|
# create systemd service and make it autoboot
|
||||||
tee -a /etc/systemd/system/frr-restarter.service <<EOF
|
tee -a /etc/systemd/system/frr-restarter.service <<EOF
|
||||||
[Unit]
|
[Unit]
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|||||||
Reference in New Issue
Block a user