kiv
1
Hi there,
Trying to migrate lxc privileged containers to incus :
$ sudo /GoBinPath/go/bin/lxc-to-incus --containers mediawiki
Failed to load config for test
Parsing LXC configuration
Checking for unsupported LXC configuration keys
Skipping container 'mediawiki': Found unsupported config key 'lxc.apparmor.allow_nesting'
Note : I added lxc.apparmor.allow_nesting = 1
after upgrading to LXC 3.
After removing this key from mediawiki config file :
Skipping container 'mediawiki': Found unsupported config key 'lxc.mount.fstab'
Well… this is where I stopped emptying my configuration file.
What should I do next ?
kiv
2
For the record : I didn’t dig the problem but used incus-migrate
instead and manually configured the containers, as it was not much work in my case.
stgraber
(Stéphane Graber)
3
Yeah, chances are things would have worked well by just unsetting the lxc.mount.fstab
.
You’d probably have just wanted to check what’s in there to potentially then add those things back as disk devices on the resulting Incus container.
Anyway, glad you go things working with incus-migrate!
kiv
4
Thank you for the answer.
It was the opportunity to learn and understand the magic behind incus devices and options!