[pve-devel] [PATCH pve-common] added PVE::Tools::next_free_nbd_dev

2015-08-06 Thread Wolfgang Bumiller
This comes from pve-container and will be used in qemu-server with cloudinit. --- src/PVE/Tools.pm | 10 ++ 1 file changed, 10 insertions(+) diff --git a/src/PVE/Tools.pm b/src/PVE/Tools.pm index a7bcd35..9b6a3e4 100644 --- a/src/PVE/Tools.pm +++ b/src/PVE/Tools.pm @@ -740,6 +740,16 @@

Re: [pve-devel] coreboot support

2015-08-06 Thread Michael Rasmussen
On Thu, 6 Aug 2015 01:37:34 +0200 Michael Rasmussen m...@datanom.net wrote: I have attached both configs and my boot.rom for testing (should be renamed to .config in the appropriate folders) A set of more refined config files for coreboot and seabios-1.8.2 attached. These work excellent and

[pve-devel] [RFC PATCH v9 4/6] cloudinit: use qcow2 for future snapshot support

2015-08-06 Thread Wolfgang Bumiller
The config-disk is now generated into a qcow2 located on a configured storage. It is now also storage-managed and so live-migration and live-snapshotting should work as they do for regular hard drives. Config drives are recognized by their storage name of the form: VMID/vm-VMID-cloudinit.qcow2

[pve-devel] [RFC PATCH v9 5/6] cloudinit : support any storeid for configdrive

2015-08-06 Thread Wolfgang Bumiller
From: Alexandre Derumier aderum...@odiso.com - changelog: - support any storage and not only qcow2 - cloudinit drive volume no more generated at start. we can now enable|disable cloudinit with qm set vmid -(ide|sata)x storeid:cloudinit qm set vmid -delete (ide|sata)x

[pve-devel] [RFC PATCH v9 1/6] implement cloudinit v2

2015-08-06 Thread Wolfgang Bumiller
From: Alexandre Derumier aderum...@odiso.com Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/QemuServer.pm | 145 -- control.in| 2 +- 2 files changed, 143 insertions(+), 4 deletions(-) diff --git a/PVE/QemuServer.pm

[pve-devel] [RFC PATCH v9 2/6] cloud-init changes

2015-08-06 Thread Wolfgang Bumiller
* Add ipconfigX for all netX configuration options and using ip=CIDR, gw=IP, ip6=CIDR, gw6=IP as option names like in LXC. * Adding explicit ip=dhcp and ip6=dhcp options. * Removing the config-update code and instead generating the ide3 commandline in config_to_command. - Adding a

[pve-devel] [RFC PATCH v9 6/6] delete cloudinit images as if they weren't cdroms

2015-08-06 Thread Wolfgang Bumiller
--- PVE/API2/Qemu.pm | 2 +- PVE/QemuServer.pm | 14 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index a19ad87..4dcbb26 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -41,7 +41,7 @@ my $resolve_cdrom_alias = sub {

[pve-devel] [RFC PATCH v9 0/6] cloudinit updates

2015-08-06 Thread Wolfgang Bumiller
Sending the entire series again since I made some changes in between. (@Alexandre, since I modified most patches in the series to bring them more up to date (eg. see the changelog for patch 1): if you have already worked on conflicting changes and don't feel like dealing with the merge conflict,

Re: [pve-devel] coreboot support

2015-08-06 Thread Dietmar Maurer
I have successfully make a boot rom with coreboot using seabios as payload;-) So what is the advantage if that still uses seabios? ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH_V2] Fix the zfs parse volume

2015-08-06 Thread Wolfgang Link
there where an changing in the internal name so it is necessary to adapt the parser regex. --- PVE/Storage/ZFSPoolPlugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm index d7204b2..dbaa5ca 100644 ---

Re: [pve-devel] use our own format for LXC containers

2015-08-06 Thread Alexandre DERUMIER
Do you still write the config file at lxc format for lxc-start ? (maybe on each ct start ?) If yes, I'm not sure, but I think it's possible to pass key=values to lxc-start command line, -s, --define KEY=VAL Assign value VAL to configuration variable KEY. This overrides

Re: [pve-devel] [PATCH lxc] consistent interface names and live network update

2015-08-06 Thread Wolfgang Bumiller
That was supposed to be [PATCH pve-container] On Thu, Aug 06, 2015 at 03:46:47PM +0200, Wolfgang Bumiller wrote: veth${vmid}.${id} looks like a vlan device, with qemu we use tap${vmid}i${id}, so it makes sense to use an 'i' for containers, too. Fixed update_net to work with the new

Re: [pve-devel] [PATCH lxc] enable seccomp

2015-08-06 Thread Dietmar Maurer
applied, thanks! ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] use our own format for LXC containers

2015-08-06 Thread Dietmar Maurer
Do you still write the config file at lxc format for lxc-start ? (maybe on each ct start ?) Sure, yes. What problem do you want to solve? ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] use our own format for LXC containers

2015-08-06 Thread Alexandre DERUMIER
Sure, yes. What problem do you want to solve? no special problem, just remove a file write at each start BTW, I have read the new code, I don't have tested it yet, but if ($scfg-{type} eq 'dir' || $scfg-{type} eq 'nfs') { + if ($size 0) { + $volid =

[pve-devel] [PATCH lxc] enable seccomp

2015-08-06 Thread Wolfgang Bumiller
explicitly enable seccomp and add libseccomp-dev build-time and libseccomp2 runtime dependencies --- debian/control | 4 ++-- debian/rules | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index 585efd4..c3f335e 100644 --- a/debian/control

[pve-devel] lxc container migration not implemented

2015-08-06 Thread moula BADJI
I test the new platform with the latest updates On glusterfs server: no possibility to migrate contenaires : TASK ERROR: lxc container migration not implemented. coming soon ? Thank's. ___ pve-devel mailing list pve-devel@pve.proxmox.com

Re: [pve-devel] use our own format for LXC containers

2015-08-06 Thread Dietmar Maurer
In future, I want to implement 'subvol' for normal directories (maps to simple subdirectories). So that we can remove those get_private_dir hacks... In future, we can now also add additional mount entries like: rootfs: local:101/subvol-101-disk-1.raw,size=4 mount0:

Re: [pve-devel] [PATCH_V2] Fix the zfs parse volume

2015-08-06 Thread Dietmar Maurer
Again, please can you add an expamle toƶ show why this is required? there where an changing in the internal name so it is necessary to adapt the parser regex. ___ pve-devel mailing list pve-devel@pve.proxmox.com