hi,all current, add disk for the lxc from cli. like this
# cat /etc/pve/lxc/100.conf arch: amd64 cpulimit: 2 cpuunits: 1024 hostname: test memory: 2048 net0: bridge=vmbr0,hwaddr=F2:07:24:D6:DE:28,ip=172.16.1.100/12,name=eth0,type=veth onboot: 1 ostype: centos rootfs: local:100/vm-100-disk-1.raw,size=16G swap: 2048 lxc.mount.entry: /dev/sdb dev/sdb none bind,mode=1777,create=file 0 0 lxc.mount.entry: /dev/sdc dev/sdc none bind,mode=1777,create=file 0 0 lxc.mount.entry: /dev/sdd dev/sdd none bind,mode=1777,create=file 0 0 lxc.mount.entry: /dev/sde dev/sde none bind,mode=1777,create=file 0 0 lxc.cgroup.devices.allow: b 8:16 rwm lxc.cgroup.devices.allow: b 8:32 rwm lxc.cgroup.devices.allow: b 8:48 rwm lxc.cgroup.devices.allow: b 8:60 rwm if can add like this feature, pretty good! Whether the planned? thanks . lyt_yudi lyt_y...@icloud.com
_______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel