LXC config problem

vobo70

Well-Known Member
Nov 15, 2017
61
2
48
54
Warsaw, Poland
Hello,
I would like to install OMV on proxmox lxc as stated in that tutorial:
https://forum.proxmox.com/threads/o...h-attached-hw-block-device.29918/#post-192680
Only difference my debian is 9.3 and omv is 4.0.x.
Everything so far works great only I have stuck on: make hook to mount data drives (sdb2 and sdc2)
I have got this when I try to run container:
Code:
The configuration file contains legacy configuration keys.
Please update your configuration file!
finally container starts but I cannot see any drives ...
This is my container config file (/etc/pve/lxc/108.conf):
Code:
arch: amd64
cores: 4
hostname: omv
memory: 2048
net0: name=eth0,bridge=vmbr0,gw=192.168.0.1,hwaddr=5A:8A:F0:4B:10:6F,ip=192.168.0.7/24,type=veth
onboot: 1
ostype: debian
rootfs: local-lvm:vm-108-disk-1,size=8G
swap: 2048
lxc.aa_profile: unconfined
lxc.mount.auto: cgroup:rw
lxc.mount.auto: proc:rw
lxc.mount.auto: sys:rw
lxc.cgroup.devices.allow: b 8:16 rwm
lxc.cgroup.devices.allow: b 8:17 rwm
lxc.cgroup.devices.allow: b 8:18 rwm
lxc.cgroup.devices.allow: b 8:32 rwm
lxc.cgroup.devices.allow: b 8:33 rwm
lxc.cgroup.devices.allow: b 8:34 rwm
lxc.autodev: 1
lxc.mount.entry: /media/11772968-9c22-4652-8f30-96b0e5a16a94 media/11772968-9c22-4652-8f30-96b0e5a16a94 none bind,create=dir,optional 0 0
lxc.mount.entry: /media/60864452-f794-4ef7-bd58-a2ec42f092e5 media/60864452-f794-4ef7-bd58-a2ec42f092e5 none bind,create=dir,optional 0 0
can someone tell me are there some config variables are not anymore valid?
thanks for any help