Re: [pve-devel] [Feature request] add disk for lxc from the API and WebUI

2015-11-12 Thread Dietmar Maurer
There are some ideas, but nothing implemented so far ... On 11/13/2015 06:10 AM, lyt_yudi wrote: hi, this feature isn’t planned? and isn’t support too in future ? in this post: add device option for lxc.

Re: [pve-devel] [Feature request] add disk for lxc from the API and WebUI

2015-11-12 Thread lyt_yudi
> 在 2015年11月13日,下午1:51,Dietmar Maurer 写道: > > There are some ideas, but nothing implemented so far ... Hope good news , Thanks___ pve-devel mailing list pve-devel@pve.proxmox.com

Re: [pve-devel] [Feature request] add disk for lxc from the API and WebUI

2015-11-12 Thread Alexandre DERUMIER
>>There are some ideas, but nothing implemented so far ... I think I had implemented it at the begin but Wolfang remove it because of security concern. Maybe could be have a generic device passthrough option, to expose any /dev/.. (hdd or other device), to guest ? (not in mpX, but something

Re: [pve-devel] [Feature request] add disk for lxc from the API and WebUI

2015-11-12 Thread lyt_yudi
> 在 2015年11月12日,下午11:30,lyt_yudi 写道: > > thanks, > > I want to direct use the block device, not use mount a disk to the > directory inside the container > > the resize feature isn’t so important for me, because here to use the whole > disk . > hi, this feature

Re: [pve-devel] [Feature request] add disk for lxc from the API and WebUI

2015-11-12 Thread Dietmar Maurer
> >>There are some ideas, but nothing implemented so far ... > > I think I had implemented it at the begin but Wolfang remove it because of > security concern. AFAIK that code is still there. Passing /dev/xyz is perfectly valid, but this user does not want to mount the disk. > Maybe could be

[pve-devel] [Feature request] add disk for lxc from the API and WebUI

2015-11-12 Thread lyt_yudi
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:

Re: [pve-devel] [Feature request] add disk for lxc from the API and WebUI

2015-11-12 Thread lyt_yudi
> 在 2015年11月12日,下午11:06,Emmanuel Kasper 写道: > > Hi lyt_yudi > > You can already do this, but it is not implemented in the GUI > > mp0: local:102/vm-102-disk-3.raw,mp=/mnt/,size=1G > mp1: /dev/dm-3,mp=/mnt1/,size=1G > > > mp0 will mount here a disk image to /mnt > mp1

Re: [pve-devel] [Feature request] add disk for lxc from the API and WebUI

2015-11-12 Thread Emmanuel Kasper
On 11/12/2015 04:01 PM, lyt_yudi wrote: > 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: >