HassOS uses a USB drive for these configuration files.
[UPDATE - As of HassOS version 1.12, the config importer can now check the SD card for a CONFIG directory on the root of the SD boot partition (hassos-boot). This should help those without access to usb drives or boards with limited USB options.
The USB is used to pass the configuration to the system at boot, or by using the “Import from USB” option in the UI at the hassio > system page.
The USB does not need to remain connected after the import.
“my-network” is a suggestion but the filename can be anything you want. You can call it “wifi-confusion” if you like.
What is important:
- The USB drive’s name/label needs to be CONFIG (in caps) and can be formatted with FAT32, EXT4, or NTFS.
- There needs to be a directory called /network on the USB.
- Your network file needs to be inside /network and have no extension (like before).
If you’re on Windows and don’t see extensions in explorer, go to the view tab in explorer’s ribbon and check the box for “File name extensions”.
File example for Wifi:
a change to this configuration was made and may help users who were not getting a connection previous to 7/19/18
[connection] id=hassos-network uuid=72111c67-4a5d-4d5c-925e-f8ee26efb3c3 type=802-11-wireless [802-11-wireless] mode=infrastructure ssid=MY_SSID [802-11-wireless-security] auth-alg=open key-mgmt=wpa-psk psk=MY_WLAN_SECRED_KEY [ipv4] method=auto [ipv6] addr-gen-mode=stable-privacy method=auto
You can also import your authorized_keys file for ssh to the host using this same drive. It can be on the root of the USB drive and not in a directory.
More info about the configuration USB : https://github.com/home-assistant/hassos/blob/dev/Documentation/configuration.md
More info about the network files, including resetting the network to default (from the host) and disabling wifi powersave: https://github.com/home-assistant/hassos/blob/dev/Documentation/network.md