mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-01 21:33:02 +02:00
Fix Frr Hybrid Mode example and link to doc/container.md
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -71,11 +71,11 @@ directory: `/cfg/start.d`. For example, the following starts OSPF:
|
||||
```sh
|
||||
root@infix:~$ mkdir /cfg/start.d
|
||||
root@infix:~$ cd /cfg/start.d
|
||||
root@infix:~$ cp -a /etc/frr .
|
||||
root@infix:/cfg/start.d$ cat <<EOF >10-enable-ospf.sh
|
||||
#!/bin/sh
|
||||
# Use vtysh to modify the OSPF configuration
|
||||
rm /etc/frr/frr.conf
|
||||
ln -s /cfg/frr/frr.conf /etc/frr/
|
||||
mount --bind /cfg/frr /etc/frr
|
||||
initctl enable zebra
|
||||
initctl enable ospfd
|
||||
initctl enable bfdd
|
||||
@@ -104,6 +104,8 @@ root@infix:/cfg/start.d$ chmod +x 20-enable-container.sh
|
||||
Reboot to activate the changes. To activate the changes without
|
||||
rebooting, run the script and call `initctl reload`.
|
||||
|
||||
For more information, see [Containers in Infix](doc/container.md).
|
||||
|
||||
|
||||
Hardware
|
||||
--------
|
||||
|
||||
Reference in New Issue
Block a user