Use the following command to find ONIE version from OS10 CLI. You may be prompted to provide the login password.
system "sudo /mnt/onie-boot/onie/tools/bin/onie-version"
Syntax
OS10# system "sudo /mnt/onie-boot/onie/tools/bin/onie-version"
This command displays details about ONIE like version, platform, machine.
Sample output