~smoser/maas-images/trunk.img2squash-fixes

Viewing all changes in revision 409.

  • Committer: Scott Moser
  • Date: 2018-09-13 13:34:27 UTC
  • mfrom: (408.1.3 lp1791189)
  • Revision ID: smoser@ubuntu.com-20180913133427-tis6hxb2nekf04n5
Centos7: do not run finalize hook if curtin supports centos.

If curtin has the feature CENTOS_CURTHOOK_SUPPORT, then do not run
the 'finalize' hook, but let curtin handle it.

The finalize CentOS hook writes the MAAS OAUTH credentials to
90_datasource.cfg. The builtin Curtin hooks are writing the MAAS OAUTH
credentials to 50-cloudconfig-maas-reporting.cfg. Disable the finalize
hook when Curtin supports CENTOS_CURTHOOK_SUPPORT to avoid duplicated
data.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: