OK, I can reproduce in a trusty vm curtin/launch and this config:
% cat partprobe.yml early_commands: add_repo: ["add-apt-repository", "-y", "ppa:maas-maintainers/experimental"]
partitioning_commands: builtin: - curtin - block-meta - custom storage: config: - grub_device: true id: sda model: TOSHIBA THNSNH12 name: sda ptable: msdos path: /dev/vdc type: disk wipe: superblock - device: sda id: sda-part1 name: sda-part1 number: 1 offset: 2097152B size: 128032530432B type: partition uuid: 19a4ba9c-f70a-4826-bd7c-5639476f7120 wipe: superblock - devices: - sda-part1 id: vgroot name: vgroot type: lvm_volgroup uuid: 884d7eb2-1e72-4807-8ed7-70465626bf1f - id: vgroot-lvroot name: lvroot size: 128031129600B type: lvm_partition volgroup: vgroot - fstype: ext4 id: vgroot-lvroot_format label: root type: format uuid: a83e1778-f7c7-485a-b2b8-eabce888d4e1 volume: vgroot-lvroot - device: vgroot-lvroot_format id: vgroot-lvroot_mount path: / type: mount version: 1
% ./tools/launch -n user,mac=c0:d6:9f:2c:e8:80 -d test1.img:128G ~/download/trusty-server-cloudimg-amd64-disk1.qcow2 -- curtin install --config=partprobe.yml cp:///
OK, I can reproduce in a trusty vm curtin/launch and this config:
% cat partprobe.yml repository" , "-y", "ppa:maas- maintainers/ experimental" ]
early_commands:
add_repo: ["add-apt-
partitioning_ commands: f70a-4826- bd7c-5639476f71 20 1e72-4807- 8ed7-70465626bf 1f lvroot_ format f7c7-485a- b2b8-eabce888d4 e1 lvroot_ format
builtin:
- curtin
- block-meta
- custom
storage:
config:
- grub_device: true
id: sda
model: TOSHIBA THNSNH12
name: sda
ptable: msdos
path: /dev/vdc
type: disk
wipe: superblock
- device: sda
id: sda-part1
name: sda-part1
number: 1
offset: 2097152B
size: 128032530432B
type: partition
uuid: 19a4ba9c-
wipe: superblock
- devices:
- sda-part1
id: vgroot
name: vgroot
type: lvm_volgroup
uuid: 884d7eb2-
- id: vgroot-lvroot
name: lvroot
size: 128031129600B
type: lvm_partition
volgroup: vgroot
- fstype: ext4
id: vgroot-
label: root
type: format
uuid: a83e1778-
volume: vgroot-lvroot
- device: vgroot-
id: vgroot-lvroot_mount
path: /
type: mount
version: 1
% ./tools/launch -n user,mac= c0:d6:9f: 2c:e8:80 -d test1.img:128G ~/download/ trusty- server- cloudimg- amd64-disk1. qcow2 -- curtin install --config= partprobe. yml cp:///