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

Qubes Salt state module for downloading files to offline VMs #2162

Open
rootkovska opened this Issue Jul 9, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@rootkovska
Member

rootkovska commented Jul 9, 2016

It would be useful in some scenarios to be able to state something like this (imagine this being part of e.g. my-offline-vm.sls state file):

get some tgz from the untrusted Web:
  qubes.get_file_via_dispvm:
    - source: http://somewhere.com/somefile.tgz
    - sha1: adc83b19e793491b1c6ea0fd8b46cd9f32e592fc

Salt would then spawn a DispVM (connected to the net, so this would not be a DispVM started from the VM in question, as in that case it would inherit network-not-having property), and then wget the requested files. Subsequently the file would be checked against the hash given, and if matches, copied to the target offline AppVM using qubes.Filecopy service.

This way we would be able to prepare custom offline AppVMs which require e.g. custom sources from the Web, such as e.g. an AppVM for running Electrum + Trezor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment