tripleo-image-elements/elements/use-ephemeral/os-refresh-config/pre-configure.d
Alexis Lee ac5279a265 Symlink to backup dir until ephemeral storage available
Currently, when you call `register-state-path --leave-symlink /a`, a
symlink is left at /a pointing to /mnt/state/a. However, /mnt/state
doesn't point at ephemeral storage until the instance has booted. So if
another element tries to write through the symlink, it goes wrong.

This patch defers moving content (and leaving a symlink if required) to the
backup dir until finalise.d runs.

Change-Id: Id5bc25965db1fdf27f2bcb947c518f6f4566fd2f
Co-Author: Nicholas Randon
2014-09-24 10:34:32 +00:00
..
00-fix-ephemeral-mount Fix arguments in call to os-apply-config 2013-12-22 07:34:50 -08:00
01-setup-stateful-paths Symlink to backup dir until ephemeral storage available 2014-09-24 10:34:32 +00:00