nspawn: make use of CHASE_NON_EXISTING when locking image
authorLennart Poettering <lennart@poettering.net>
Tue, 29 Nov 2016 17:16:43 +0000 (18:16 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 30 Nov 2016 23:25:51 +0000 (00:25 +0100)
commit8d4aa2bb32c0fb9ab136167a1594bb4e4a09c8d5
treeb1abded3103af20f05cf74c0ef2fe07ceb15d703
parent8ce48cf0f899c50a7dfba8efe45a729f61df060a
nspawn: make use of CHASE_NON_EXISTING when locking image

If --template= is used on an image, then the image might not exist initially.
We can use CHASE_NON_EXISTING to properly lock the image already before it
exists. Let's do so.
src/nspawn/nspawn.c