This commit is contained in:
Pascal Vizeli 2018-06-03 13:21:19 +00:00
commit 3c21a8c486
4 changed files with 29 additions and 20 deletions

View File

@ -0,0 +1,29 @@
# Configuration
## Automatic
You can format a USB stick with FAT32 and name it with `hassos-config`. The layout could be look like:
```
network/
modules/
known_hosts
hassos-xy.rauc
```
- On `network` folder can hold any kind of NetworkManager connections files.
- The folder `modules` is for modules-load configuration files.
- `known_hosts` file activate debug SSH access of port `22222`.
- For firmware updates you can but the `hassos-*.rauc` OTA update they should be install.
## Local
### Bootargs
You can edit or create a `cmdline.txt` into your boot partition. That will be read from our bootloader.
### Kernel-Module
The kernel module folder `/etc/modules-load.d` is persistent and you can add your config files there. See [Systemd modules load][systemd-modules].
[systemd-modules]: https://www.freedesktop.org/software/systemd/man/modules-load.d.html

View File

@ -1,12 +0,0 @@
# Configuration
## Bootargs
You can edit or create a `cmdline.txt` into your boot partition. That will be read from our bootloader.
## Kernel-Module
The kernel module folder `/etc/modules-load.d` is persistent and you can add your config files there. See [Systemd modules load][systemd-modules].
[systemd-modules]: https://www.freedesktop.org/software/systemd/man/modules-load.d.html

View File

@ -15,14 +15,6 @@ Hass.io OS based on [buildroot](https://buildroot.org/). It's a hypervisor for D
## Schemas ## Schemas
![](misc/hassio-os-partition.png?raw=true) ![](misc/hassio-os-partition.png?raw=true)
## Configuration
Create a USB stick with a partition named "hassos-config". This partition can include follow files:
- network-* (NetworkManager keyfiles)
- known_hosts (SSH)
- hassos*.ota (Firmware updates)
# Customize # Customize
Provide a file with the name `hassos.json` in your data partition and the following structure: Provide a file with the name `hassos.json` in your data partition and the following structure: