I've just written 2 convenient scripts that wrap around obc-make-lease and obc-make-devkey.
These allow you to create a CSV file of the XOs, containing the SN and UUID, and then generate leases or devkeys for those XOs. To use: - On an XS: yum --enablerepo=olpcxs-testing install olpc-bios-crypto ... otherwise grab the latest olpc-bios-crypto rpm from http://xs-dev.laptop.org/xsrepos/testing/olpc/9/i386/ - Create a CSV file, with no quotes or strange spaces - just each line having: SN,UUID - Execute obc-make-leases-from-csv.sh --signingkey /path/to/your/key laptops.csv > mynewleases.sig Note: The script will "complete" the path to the key, so you must _not_ include the trailing ".private". Patch implementing this is here: http://dev.laptop.org/git/bios-crypto/commit/?h=delegation&id=0cc67a88a53db86abc57f125f8f7f2a981d41fab cheers, m -- [email protected] [email protected] -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff _______________________________________________ Devel mailing list [email protected] http://lists.laptop.org/listinfo/devel
