Re: [Openstack-operators] Diskimage-builder lvm

2018-03-27 Thread Ignazio Cassano
Many thanks for your help Ignazio Il Mar 27 Mar 2018 09:52 Andreas Scheuring ha scritto: > Hi, I recently did it like this: > > > For Ubuntu: Cherry picked: https://review.openstack.org/#/c/504588/ > > > export DIB_BLOCK_DEVICE_CONFIG=' > - local_loop: > name: image0 > size: 3GB >

Re: [Openstack-operators] Diskimage-builder lvm

2018-03-27 Thread Andreas Scheuring
Need to correct my statement from below: It tries to get the root disk by label, that’s not working on ubuntu in combination with lvm. It might work if you put the root volume on a non lvm disk. --- Andreas Scheuring (andreas_s) On 27. Mar 2018, at 09:52, Andreas Scheuring wrote: Hi, I rec

Re: [Openstack-operators] Diskimage-builder lvm

2018-03-27 Thread Andreas Scheuring
Hi, I recently did it like this: For Ubuntu: Cherry picked: https://review.openstack.org/#/c/504588/ export DIB_BLOCK_DEVICE_CONFIG=' - local_loop: name: image0 size: 3GB - partitioning: base: image0 label: mbr partitions: - name: root flags:

[Openstack-operators] Diskimage-builder lvm

2018-03-26 Thread Ignazio Cassano
Hi all, I read diskimage-builder documentatio but is not clear for me how I can supply lvm configuration to the command. Some yaml files are supplied but diskimage seems to expect json file. Please, could anyone post an example? Regards Ignazio ___ OpenS