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 h

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

2015-11-12 Thread Alexandre DERUMIER
ething else like hostdevX for example) - Mail original - De: "dietmar" À: "pve-devel" Envoyé: Vendredi 13 Novembre 2015 06:51:33 Objet: Re: [pve-devel] [Feature request] add disk for lxc from the API and WebUI There are some ideas, but nothing implemented so far ..

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 http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

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. http://askubuntu.com/questions/528161/how-to-make-a-hdd-device-file-dev-sdxy-available-in-

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 isn’t planned? and isn’t

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 will mount the block dev

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: > bridge=vmbr0,hwaddr=F2:07:24:D6:DE:28,ip=172.16.1.100/12,name=eth0,type=ve

[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: local:100/vm-100-disk-1.raw,