~tripleo/os-refresh-config/trunk

Viewing all changes in revision 12.

  • Committer: Clint Byrum
  • Date: 2013-07-17 16:00:18 UTC
  • Revision ID: git-v1:d7ea66ee8dfe0a5b0d679f6c6e77f3bbaa184215
Add a lockfile.

The scripts run by os-refresh-config generally expect to be running
only once. This will ensure that. Because we use /var/run, this also
now assumes that os-refresh-config is run by root. Otherwise one must
pass in a different --lockfile path.

Change-Id: I33cbb065d6bc32c87f5e72132fceef9df82a190d

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: