https://cr.opensolaris.org/action/browse/caiman/wmsch/7068653/webrev/

7068653 Profile criteria not correctly input for templating
7068659 Support profile templating of zone name in Automated Installer

common_profile.c:
Added AI_ZONENAME to list of template criteria.
Changed to save criteria from getCriteria() generator into a list.
Changed to take the output from MACAddress MAC validator for building CID ("01" 
+ MAC).

AI_database.py has only small spacing corrections for pep8.
create_profile.py has only a upper-case correction for CID

Added a test for templating.

Tested various criteria, including AI_ZONENAME:
- as create-profile -c criteria
- as environment variables AI_<criteria>
- in templates {{AI_<criteria>}}
Exported templated profiles to verify correctness.

Thank you,
William
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to