~andreserl/maas/maas-images-lp1571881

Viewing all changes in revision 289.

  • Committer: Lee Trager
  • Date: 2016-04-19 19:55:59 UTC
  • mfrom: (288.1.3 trunk)
  • Revision ID: lee.trager@canonical.com-20160419195559-47338z50qida7wuc
Modify CentOS curtin-hooks to work with Python 2 or 3

The base Xenial image only ships with Python 3. Add a wrapper script which detects which version of Python is running on the system and then executes the actual curtin-hook. The hook itself has been modified to be usable using Python 2 or 3.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: