Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Box packaging #4

Merged
merged 8 commits into from Mar 30, 2013
Merged

Box packaging #4

merged 8 commits into from Mar 30, 2013

Conversation

fgrehm
Copy link
Owner

@fgrehm fgrehm commented Mar 30, 2013

metadata.json

{
  "provider": "lxc",
  "version":  "1",

  "template-opts": {
    "--arch":    "amd64",
    "--release": "quantal"
  }
}
KEY REQUIRED? DESCRIPTION
provider Yes Required by Vagrant
version Yes Manifest version, not really useful at the moment but might be in case we add backward incompatibilities
template-opts No Extra options to be passed to the template script provided with the .box package

Expected .box conteints

FILE DESCRIPTION
lxc-template Script responsible for creating and setting up the container (used with lxc-create)
rootfs.tar.gz Compressed container rootfs tarball (need to remeber to pass in --numeric-owner when creating it)

@fgrehm fgrehm mentioned this pull request Mar 8, 2013
@fgrehm fgrehm mentioned this pull request Mar 28, 2013
@fgrehm
Copy link
Owner Author

fgrehm commented Mar 28, 2013

After a quick spike today, it seems that packaging a previously created container would be just a matter of tweaking the lxc-template and recompressing the rootfs

fgrehm added a commit that referenced this pull request Mar 30, 2013
@fgrehm fgrehm merged commit aa69226 into master Mar 30, 2013
@fgrehm
Copy link
Owner Author

fgrehm commented Mar 30, 2013

I believe this is a good start, following improvements will be handled by #46

@fgrehm fgrehm deleted the box-packaging branch March 30, 2013 22:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant