diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-12-07 09:44:41 +0100 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2016-12-11 21:16:16 -0500 |
commit | c9c9197a3210ac24a039a4096214150d0e8cebb8 (patch) | |
tree | fd8108007e9bacce8cac114a39fa283ec6f5c733 /tests/unittests | |
parent | a9d41de47a58d967ae3fd6a7749f8143a14424d3 (diff) | |
download | vyos-cloud-init-c9c9197a3210ac24a039a4096214150d0e8cebb8.tar.gz vyos-cloud-init-c9c9197a3210ac24a039a4096214150d0e8cebb8.zip |
mounts: use mount -a again to accomplish mounts
During recent changes to cc_mounts, on systemd systems, we started using
systemctl daemon-reload
rather than 'mount -a' to get mounts done.
The belief was that since entries in /etc/fstab would be written
to tell systemd that they should be after cloud-init
(x-systemd.requires=cloud-init.service) that the reload would then
let systemd mount the units as expected.
That doesn't seem to work, and new mount entries end up not getting
mounted. The change here moves back to using 'mount -a', but
then also does a systemctl daemon-reload.
LP: #1647708
Diffstat (limited to 'tests/unittests')
0 files changed, 0 insertions, 0 deletions