Hi Alvaro,

Here is my repo: https://github.com/xxthegonzxx/packer-base

Feel free to try it out. I would love some feedback. Thanks!

> On Oct 11, 2016, at 10:49 AM, Alvaro Miranda Aguilera <[email protected]> 
> wrote:
> 
> Hi Gonzalo,
> 
> If you can share your project in a github repo I can check for you.
> 
> Thanks
> Alvaro
> 
> 
> On Tue, Oct 11, 2016 at 7:42 PM, Gonzo Fernandez <[email protected] 
> <mailto:[email protected]>> wrote:
> 
> Just an update, I've tried using your preseed.cfg file: 
> https://github.com/cbednarski/packer-ubuntu/blob/master/http/preseed.cfg 
> <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] <>> 
> 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 
> <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 
> <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 
> <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] 
> <mailto:[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
>  
> <https://groups.google.com/d/msgid/packer-tool/1c8cf854-08b0-409b-980c-000e0ec04360%40googlegroups.com?utm_medium=email&utm_source=footer>.
> 
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> 
> 
> 
> -- 
> Alvaro
> 
> 
> -- 
> This mailing list is governed under the HashiCorp Community Guidelines - 
> https://www.hashicorp.com/community-guidelines.html 
> <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 
> <https://github.com/mitchellh/packer/issues>
> IRC: #packer-tool on Freenode
> --- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "Packer" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/packer-tool/eeDUhiKEDto/unsubscribe 
> <https://groups.google.com/d/topic/packer-tool/eeDUhiKEDto/unsubscribe>.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/packer-tool/CAHqq0ezRtYEx00Yqy9%2B3pLL-t_Pi7N0ebJFHB6nrFH-ETCCaMg%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/packer-tool/CAHqq0ezRtYEx00Yqy9%2B3pLL-t_Pi7N0ebJFHB6nrFH-ETCCaMg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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/82D11C78-9A22-4546-BA8B-C2C4B82AB64A%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to