Create a custom operation which will map the operation to a thin-edge.io workflow (operation).
The following components must be installed for the scripts to work.
- jq
- tedge (>= 1.3.1-88-g09c1d4c)
# NanoMQ Configuration 0.18.0 | |
#============================================================ | |
# NanoMQ Broker | |
#============================================================ | |
system { | |
daemon = false | |
num_taskq_thread = 0 | |
max_taskq_thread = 0 | |
parallel = 0 | |
} |
Append the ssh config to your machine's ssh config file
The following snippet creates
cat <<EOT >> ~/.ssh/config
Host rpi5-d83addab8e9f
User root
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_ed25519
Warning: If you run tedge reconnect c8y
or tedge connect c8y
, you will need to re-edit the c8y-bridge.conf
file again (as it is auto generated). thin-edge.io will be added support to configure this value, but it hasn't been implemented yet, see issues/3153.
Stop all thin-edge.io related services
tedge disconnect c8y
systemctl stop tedge-agent
Flash the latest Raspberry Pi alpine linux image to the SD CARD. See Alpine's Documentation for details
Remount the sd hard on your computer (as you'll be adding some additional files to it before the SD card is inserted into your Raspberry Pi)
Download the headless.apkovl.tar.gz
file from the alpine-linux-headless-bootstrap repo and add it to the to the root folder of the mounted sd card (e.g. the FAT partition).
Note: You don't need to extract the headless.apkovl.tar.gz
file, just place it there (there is a magic service which will execute it on boot)
# yaml-language-server: $schema=https://raw.githubusercontent.com/siemens/kas/66261547b75885786777a0b9c8a4400ab81d432e/kas/schema-kas.json | |
header: | |
version: 14 | |
bblayers_conf_header: | |
meta-minimal: | | |
POKY_BBLAYERS_CONF_VERSION = "2" | |
local_conf_header: | |
meta-minimal: | |