fuel-agent/fuel_agent/objects
Vladimir Kozhukalov 21048016a7 Move files from mount points to actual file systems
The thing is that sometimes we have file system images and mount
point hierachies which are not aligned. Let's say, we have root
file system image, while partition scheme says that two file
systems should be created on the node: / and /var. In this case
root image has /var directory with a set of files. Obviously, we
need to move all these files from /var directory on the root
file system to /var file system because /var directory will be
used as mount point.
In order to achieve this we mount all existent file systems into
a flat set of temporary directories. We then try to find
specific paths which correspond to mount points and move all
files from these paths to corresponding file systems.

Co-Authored-By: Alexey Stupnikov <astupnikov@mirantis.com>

Change-Id: I1aa7523055ac4bcf6f8a93e9740ccf652ed35cc1
Closes-Bug: #1537699
(cherry picked from commit 5809a3fea9)
2016-09-01 19:23:39 +03:00
..
partition Move files from mount points to actual file systems 2016-09-01 19:23:39 +03:00
__init__.py Allow to set proxy parameters: 2015-11-10 14:21:39 +02:00
base.py Add driver for building bootstrap image 2015-11-25 18:47:33 +03:00
bootloader.py Fedora kernel install in ibp mode 2015-04-30 15:58:43 +03:00
configdrive.py Add processing of 'identity' parameter for mcollective config 2015-12-15 07:05:55 +00:00
device.py IBP: Added driver and objects for building images 2015-04-17 17:11:09 +03:00
image.py Make several attempts to attach image file 2015-10-29 14:59:26 +02:00
operating_system.py Allow to set proxy parameters: 2015-11-10 14:21:39 +02:00
repo.py Allow to set proxy parameters: 2015-11-10 14:21:39 +02:00