Builds a tarball of charms, resources, containers, snap-store-proxy tarballs, and a deploy script for offline installs.
Please see this offline install docs for usage.
- Can't build cross-platform tarballs. If you want a tarball for s390x, you'll need to build it on s390x.
- juju add-unit without a --to directive is going to fail because each new node needs to have the core snap copied over and installed.
- the following will generate a lxc container titled 'shrinkwrap' which will install necessary dependants and produce help output explaining how to use. See offline-docs-page for more details.
$ ./shrinkwrap-lxc.sh --help
...
usage: shrinkwrap.py [-h] [--channel CHANNEL] [--arch ARCH] [--use_path USE_PATH] [--overlay OVERLAY] [bundle]
positional arguments:
bundle the bundle to shrinkwrap
optional arguments:
-h, --help show this help message and exit
--channel CHANNEL, -c CHANNEL
the channel of the bundle
--arch ARCH, -a ARCH the target architecture of the bundle
--use_path USE_PATH, -d USE_PATH
Use existing root path.
--overlay OVERLAY Set of overlays to apply to the base bundle.
...
- python3.8
- docker.io
requests
pyyaml
semver
jinja2
retry
snap-store-proxy