]> git.proxmox.com Git - pve-container.git/commit
prestart-hook: fix starting via lxc-start
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 2 Jan 2020 08:36:05 +0000 (09:36 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 2 Jan 2020 08:36:07 +0000 (09:36 +0100)
commitfe4cd0a79c6b248315d7ef888a50b2f72bda4e86
tree031b2b114f2a5aad8e4ca5d86faa4ab067a88cd0
parent703d79abb7c10bfaab4a456291fb16ef78ecf7fc
prestart-hook: fix starting via lxc-start

When starting via 'lxc-start' from the CLI the prestart hook
ended up mounting relative to the current working dir, so
the container refused to start and we created a bunch of
useless `var` directories.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/lxc-pve-prestart-hook