Not necessarily ‘expected’ behavior but within the CLI, you can use the ‘os config generate’ command to set some initial settings then in the ‘os configure’ command you marry that config.json with the actual ‘.img’ file. Can’t seem to do this in an automated fashion aside from running a node js exec shell to use the host system CLI which just feels dirty.
When running the sdk os.getConfig this returns the config and the os.download returns an .img file but there’s not a way to my knowledge to join the two without using the CLI thus making an automated step to prepare and generate a new device addition in a programmatic fashion a little tough.
Maybe I am missing something but this is more-so a sanity check to make sure I am not missing anything.
Hi, Looks like your fastest way is probably to use exec as the cli configure is doing quite a bit of work. The configure method does not specifically exist in sdk that I can see. It is open source so you are always welcome to add it to the sdk!! I see you added an issue to request it, hopefully one of the sdk devs will pick it up soon. #1262