Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dpb587/bosh-stemcell-metadata-scripts
For generating metadata about BOSH stemcells.
https://github.com/dpb587/bosh-stemcell-metadata-scripts
Last synced: 24 days ago
JSON representation
For generating metadata about BOSH stemcells.
- Host: GitHub
- URL: https://github.com/dpb587/bosh-stemcell-metadata-scripts
- Owner: dpb587
- License: mit
- Created: 2016-03-09T17:47:03.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-11-18T20:39:02.000Z (about 6 years ago)
- Last Synced: 2024-10-30T18:13:34.919Z (2 months ago)
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bosh-stemcell-metadata
For generating metadata about [BOSH](https://bosh.io) stemcells.
## Example
# clone+cd
$ git clone https://github.com/dpb587/bosh-stemcell-metadata.git
$ cd bosh-stemcell-metadata# temporary workspace
$ workspace=~/tmp/bosh-stemcell-metadata
$ mkdir -p $workspace/{stemcell,result}# download a heavy stemcell
$ wget -O $workspace/stemcell/tarball.tgz https://d26ekeud912fhb.cloudfront.net/bosh-stemcell/aws/bosh-stemcell-3202-aws-xen-ubuntu-trusty-go_agent.tgz# analyze
$ ./example/docker-run $workspace/{stemcell,result}# review
$ less $workspace/packages## Analyzers
* `filelist` - lists all files in the filesystem including md5 checksum, permissions, ownership, names, and targets
* `manifest` - extracts the `stemcell.MF`
* `md5` - generates the md5 of the tarball
* `packages` - extracts the `stemcell_dpkg_l.txt` or `stemcell_rpm_qa.txt` package list file
* `sha1` - generates the sha1 of the tarball## License
[MIT License](./LICENSE)