I probably should know, but can't remember.
This is the flow:
[{"id":"21311374.ebd54c","type":"inject","z":"703c61ac.837e1","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":1800,"y":160,"wires":[["7f6fe149.ffcf7"]]},{"id":"2709158b.504aea","type":"debug","z":"703c61ac.837e1","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":2040,"y":100,"wires":[]},{"id":"7f6fe149.ffcf7","type":"exec","z":"703c61ac.837e1","command":"cat /etc/os-release","addpay":false,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"","x":1990,"y":160,"wires":[["2709158b.504aea","b3664456.b93568"],[],[]]},{"id":"b3664456.b93568","type":"function","z":"703c61ac.837e1","name":"","func":"\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":1820,"y":240,"wires":[["41827515.dc15b4"]]},{"id":"41827515.dc15b4","type":"debug","z":"703c61ac.837e1","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":2070,"y":240,"wires":[]}]
I get:
NAME="Ubuntu"VERSION="20.10 (Groovy Gorilla)"ID=ubuntuID_LIKE=debianPRETTY_NAME="Ubuntu 20.10"VERSION_ID="20.10"HOME_URL="https://www.ubuntu.com/"SUPPORT_URL="https://help.ubuntu.com/"BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"VERSION_CODENAME=groovyUBUNTU_CODENAME=groovy
I want to send/get the second line. The version
line.
Thanks in advance.