Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow zip as a compression method #721

Closed
nsmith5 opened this issue Jan 21, 2021 · 1 comment
Closed

Allow zip as a compression method #721

nsmith5 opened this issue Jan 21, 2021 · 1 comment

Comments

@nsmith5
Copy link

nsmith5 commented Jan 21, 2021

Describe the enhancement
zip compression would make it easy to install tools like nomad (packaged with zip from upstream). Ideally I'd like something like

files:
  - path: /usr/bin/nomad
    mode: 0644
    contents:
      compression: zip
      source: https://releases.hashicorp.com/nomad/0.11.8/nomad_0.11.8_linux_amd64.zip

to work.

@jlebon
Copy link
Member

jlebon commented Jan 21, 2021

This looks like a dupe of coreos/ignition#867. If possible, let's keep discussions there.

(One aside: /usr/bin/nomad wouldn't work because /usr is read-only, except for /usr/local which is a symlink to /var/usrlocal. So e.g. /var/usrlocal/bin/nomad would be more appropriate.)

@jlebon jlebon closed this as completed Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants