Hello,
I performed migration from Turris 3.x to 5.2.7 on Turris Omnia and the LXC configs wasn’t migrated:
# lxc-ls -l debug
lxc-ls: confile.c: parse_line: 2262 Unknown configuration key "lxc.tty"
lxc-ls: parse.c: lxc_file_for_each_line_mmap: 142 Failed to parse config file "/mnt/flash/lxc/server/config" at line "lxc.tty = 4"
Failed to load config for server
Now I’m looking at the official migration script mentioned in previous post and the problem seems to be, that I have custom lxc.lxcpath
defined in /etc/lxc/lxc.conf
.
Is there a way, to trigger the script once more and prospectively update it to look at my path /mnt/flash/lxc
instead of the default one /srv/lxc
?
UPDATE: I find the script on path /usr/lib/tos3to4/lxc
, so I updated the path on line 45 and launch the script and the config were updated.
Wouldn’t be possible to load the lxc.lxcpath
dynamically from the /etc/lxc/lxc.conf
configuration?