there is a way to create a nano image with 300mb of space

41 views
Skip to first unread message

federico montaldo

unread,
Sep 19, 2018, 3:38:22 PM9/19/18
to packe...@googlegroups.com
All,

I wan to know if there a posibility to deply a windows nano server
with a size off 300MB?. As per this guide the final image can be on
that size.

http://www.hurryupandwait.io/blog/a-packer-template-for-windows-nano-server-weighing-300mb

In the final step of the build.

==> virtualbox-iso: Connected to WinRM!
==> virtualbox-iso: Uploading VirtualBox version info (5.2.16)
==> virtualbox-iso: Gracefully halting virtual machine...
virtualbox-iso: Removing floppy drive...
==> virtualbox-iso: Preparing to export machine...
virtualbox-iso: Deleting forwarded port mapping for the communicator
(SSH, WinRM, etc) (host port 3375)
==> virtualbox-iso: Exporting virtual machine...
virtualbox-iso: Executing: export packer-virtualbox-iso-1537301916
--output output-virtualbox-iso/packer-virtualbox-iso-1537301916.ovf
==> virtualbox-iso: Deregistering and deleting VM...
==> virtualbox-iso: Running post-processor: vagrant
==> virtualbox-iso (vagrant): Creating Vagrant box for 'virtualbox' provider
virtualbox-iso (vagrant): Copying from artifact:
output-virtualbox-iso/packer-virtualbox-iso-1537301916-disk001.vmdk
virtualbox-iso (vagrant): Copying from artifact:
output-virtualbox-iso/packer-virtualbox-iso-1537301916.ovf
virtualbox-iso (vagrant): Renaming the OVF to box.ovf...
virtualbox-iso (vagrant): Using custom Vagrantfile:
vagrantfile-windows-nano.template
virtualbox-iso (vagrant): Compressing: Vagrantfile
virtualbox-iso (vagrant): Compressing: box.ovf
virtualbox-iso (vagrant): Compressing: metadata.json
virtualbox-iso (vagrant): Compressing:
packer-virtualbox-iso-1537301916-disk001.vmdk
Build 'virtualbox-iso' finished.

I don't see any image with a size off 300MB. Someone know the way to do it?.

Thanks and regards

Alvaro Miranda Aguilera

unread,
Sep 21, 2018, 2:09:19 AM9/21/18
to packe...@googlegroups.com
Hello

Did you build per that blogpost and got something bigger than 300mb?

you have an specific requirement on 300mb?

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 packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALDU2rzjksmPveiM4QHDh-QLC8iEzzcR9HmJHO-eOiNeBdnkRg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


--
Alvaro

federico montaldo

unread,
Sep 21, 2018, 2:01:33 PM9/21/18
to packe...@googlegroups.com
Hi

Yes I build the image as per the blog but I don't know why it not
showed me the output wiht a fully image of nano server. Maybe I need
to include another scripts in order to delete the first image get
reduced with the final product.
> To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CAHqq0ezWt4zT9uRBt4onHFsh-%3Dq9QncCrKSH%3Da%2BijP2-rdFGmg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages