Just an update, I've tried using your preseed.cfg file: 
https://github.com/cbednarski/packer-ubuntu/blob/master/http/preseed.cfg

Unfortunately this did not work as it still doesn't partition enough space 
to the root drive (/) :(
I'm going crazy with this as it's very frustrating. I'm not sure what else 
it could be.

ubuntu@opal-vagrant:~$ sudo fdisk -l

Disk /dev/sda: 21.0 GB, 20971520000 bytes
255 heads, 63 sectors/track, 2549 cylinders, total 40960000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0004f51f

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      499711      248832   83  Linux
/dev/sda2          501758    16775167     8136705    5  Extended
/dev/sda5          501760    16775167     8136704   8e  Linux LVM

Disk /dev/mapper/ubuntu--vg-root: 6182 MB, 6182404096 bytes
255 heads, 63 sectors/track, 751 cylinders, total 12075008 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/ubuntu--vg-root doesn't contain a valid partition table

Disk /dev/mapper/ubuntu--vg-swap_1: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders, total 4194304 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/ubuntu--vg-swap_1 doesn't contain a valid partition table

ubuntu@opal-vagrant:~$ df -h
Filesystem                                   Size  Used Avail Use% Mounted 
on
udev                                            2.0G  4.0K  2.0G   1% /dev
tmpfs                                           396M  432K  395M   1% /run
/dev/dm-0                                    5.6G  4.5G  822M  85% /
none                                            4.0K     0  4.0K   0% 
/sys/fs/cgroup
none                                            5.0M     0  5.0M   0% 
/run/lock
none                                            2.0G  4.0K  2.0G   1% 
/run/shm
none                                           100M     0  100M   0% 
/run/user
/dev/sda1                                    236M   36M  188M  17% /boot
172.28.128.1:/Users/gonzofernandez/shared  233G   77G  157G  33% /opt/shared
vagrant                                        233G   77G  157G  33% 
/vagrant


On Tuesday, October 11, 2016 at 3:58:26 AM UTC-7, Alvaro Miranda Aguilera 
wrote:
>
>
> On Mon, Oct 10, 2016 at 7:48 PM, Gonzo Fernandez <[email protected] 
> <javascript:>> wrote:
>
>> d-i partman-lvm/device_remove_lvm boolean true
>> d-i partman-auto/choose_recipe select atomic
>>
>
> no sure whats different
>
> but can you try once with this preseed?
>
> https://github.com/cbednarski/packer-ubuntu/blob/master/http/preseed.cfg
>
> Packer just create the VM disk, but from there is the OS that is doing the 
> partition layout and sizes.
>
>
> Alvaro.
>
>
> -- 
> Alvaro
>
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/1c8cf854-08b0-409b-980c-000e0ec04360%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to