README.md 1.26 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Netboot Workflow
----------------


|OMNIA (root)    |           | OMNIA (turris-netboot)    |               |  MOX (AP) |
|:--------------:|:---------:|:-------------------------:|:-------------:|:---------:|
|                |           | image                     | >>            | rescue.sh |
|                |           |                           |               | rescue.sh |
|                |           | manage.sh register        | << `pair`     | rescue.sh |
|                |           | `my_ssh_key.pub` ???      |               |           |
| manage.sh      | >> list   |                           |               |           |
| manage.sh      | >> accept | `my_ssh_key.pub` OK       |               |           |
|                |           | server.sh                 | << `status`   | rescue.sh |
|                |           | server.sh                 | << `get_root` | rescue.sh |
|                |           | ...                       | ...           | ...       |
|                |           |                           |               | chroot    |
17
18
19
20
21
22
23
24
25

Development
-----------

To deploy all the scripts directly into router you can simply run following script (might need to have you ssh-key deployed):

```bash
ROUTER_IP=192.168.1.1 ./dev-router-deploy.sh
```