[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: building (official) debian images for atlas (formerly vagrantcloud)



Hi Jan,

I've took a quick look at your box and there are few points that I'd
like to remark:

- As this is a box that's intended to be shared with the world, would
be nice if it had "http://http.debian.net/debian/"; as its default
mirror.
- The root partition could be a bit more generous than 2GiB, as the
virtual disk will grow with usage. That's not a rule, but I've seen
some Vagrant boxes using 40-80GiB for this.
- Do you really think that the `01_nodoc` script is needed? I would
understand if that was an image meant to be used in a non-interactive
environment, but that's not the most common use case for Vagrant.
- Somewhat related to the last one, but maybe the packages' option
"install_standard"[1] could be used to make the box a little bit more
user-friendly.

Also, do you mind putting this manifest on a Git (possible GitHub)
repository? This will make easier to look at its current state and
change history, propose changes, etc.

Regards,
Tiago.

[1]: https://bootstrap-vz.readthedocs.org/en/wip-integration-testing/manifest.html#packages

On 17 April 2015 at 13:29, Jan Niggemann <jn@hz6.de> wrote:
>
> Hi list,
>
> following James Brombergers proposal
> (https://lists.debian.org/debian-cloud/2015/04/msg00011.html), I'm planning
> to create official debian boxes and upload them to atlas (formerly
> vagrantcloud).
>
> My planning is roughly the following:
> - get to know bootstrap-vz (<- done)
> - create a sustainable environment for bootstrapping (<- done)
> - create a "alpha" box to gather feedback (<- done, see download link below)
> - shrink boxes (eg. remove unused locales, ...)
> - figure out how to automate upload of boxes to my own account on atlas
> - request delegation from DPL
> - do whatever is necessary to setup and maintain an official debian account
> on atlas
> - monitor debian-announce and build new boxes when necessary
>
> I'm planning to initially create stable boxes i386 and amd46 and later add
> testing and perhaps oldstable.
>
> For now, I'd very much like the community to test the box below and give me
> some feedback on what to change / improve.
>
> The box file is 181MB and located here:
> http://files.hz6.de/debian-wheezy-i386-150417.box
>
> For completeness' sake I'm including the manifest file I've used to create
> this box:
> ---
> provider:
>    name: virtualbox
>    guest_additions: /root/images/VBoxGuestAdditions.iso
> bootstrapper:
>    workspace: /root/images/workspace
> image:
>    name: debian-{system.release}-{system.architecture}-{%y}{%m}{%d}
>    description: Debian {system.release} {system.architecture}
> system:
>    release: wheezy
>    architecture: i386
>    bootloader: grub
>    charmap: UTF-8
>    hostname: localhost
>    locale: en_US
>    timezone: UTC
> packages:
>      mirror: http://ftp2.de.debian.org/debian/
> volume:
>    backing: vmdk
>    partitions:
>      type: msdos
>      root:
>        size: 2GiB
>        filesystem: ext4
> plugins:
>    apt_proxy:
>      address: 10.11.1.74
>      port: 3142
>    vagrant: {}
>    minimize_size:
>      zerofree: true
>      shrink: true
>    image_commands:
>      commands: [ ["cp", "/root/images/01_nodoc",
> "{root}/etc/dpkg/dpkg.cfg.d/"] ]
>
> The 01_nodoc file is my first shot at further reducing the box size:
> path-exclude /usr/share/doc/*
> # we need to keep copyright files for legal reasons
> path-include /usr/share/doc/*/copyright
> path-exclude /usr/share/man/*
> path-exclude /usr/share/groff/*
> path-exclude /usr/share/info/*
> # lintian stuff is small, but really unnecessary
> path-exclude /usr/share/lintian/*
> path-exclude /usr/share/linda/*
> # lang
> path-exclude /usr/share/locale/*
> path-include /usr/share/locale/en*
> path-exclude /usr/share/i18n/locale/*
> path-include /usr/share/i18n/locale/en*
>
> Have a nice weekend
> Jan
>
>
> --
> To UNSUBSCRIBE, email to debian-cloud-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> Archive:
> 20150417182913.Horde.AFvn7Xrsydx8fJViH8S4xQ9@htjn.suhail.uberspace.de">https://lists.debian.org/20150417182913.Horde.AFvn7Xrsydx8fJViH8S4xQ9@htjn.suhail.uberspace.de
>



-- 
Tiago "Myhro" Ilieve
Blog: http://blog.myhro.info/
GitHub: https://github.com/myhro/
Montes Claros - MG, Brasil


Reply to: