mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 02:12:36 +02:00
.. | ||
ssh-key | ||
.gitignore | ||
build-iso.sh | ||
genapkovl-dangerzone.sh | ||
mkimg.dangerzone.sh | ||
README.md | ||
run-vm.py | ||
run-vm.sh | ||
Vagrantfile |
Build the Dangerzone VM for running podman
Build the ISO
You need vagrant: brew install vagrant
vagrant up
vagrant ssh -- /vagrant/build-iso.sh
vagrant destroy
This takes awhile to run. It:
- Builds a new
dangerzone-converter
docker image - Builds an ISO, which includes a copy of this image
- Outputs the ISO, as well as vmlinuz and initramfs files, in the
vm
folder
Run the VM
./run-vm.sh
You can ssh in as the unprivileged user like this (you need to brew install socat
):
ssh -i ./ssh-key/id_ed25519 \
-o LogLevel=FATAL \
-o Compression=yes \
-o IdentitiesOnly=yes \
-o StrictHostKeyChecking=no \
-o UserKnownHostsFile=/dev/null \
-o "ProxyCommand nc -U /Users/user/code/dangerzone/rip_docker/vm/connect" \
-v \
user@localhost
(doesn't work yet)