[lxc-users] Is calling external mount-binding scripts supported with Ubuntu's upstart scripts?
Adam Ryczkowski
adam.ryczkowski at statystyka.net
Tue Feb 11 08:09:21 UTC 2014
On Ubuntu, LXC has a nice feature, that allows to execute the script
automatically upon boot, if the link to the configuration file is
present on /etc/lxc/auto.
Unfortunately I need to call a mount-binding script on host before, so
my container can see an external directory.
The script is simple:
mount --bind /mnt/shared-folder /mnt/shared-folder
mount --make-inbindable /mnt/shared-folder
mount --make-shared /mnt/shared-folder
--
Adam Ryczkowski
Skype:sisteczko <skype:sisteczko>
More information about the lxc-users
mailing list