mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-01 03:02:23 +02:00
31 lines
589 B
Markdown
31 lines
589 B
Markdown
# Build the Dangerzone VM for running podman
|
|
|
|
## Build the ISO
|
|
|
|
You need vagrant: `brew install vagrant`
|
|
|
|
```sh
|
|
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
|
|
|
|
```sh
|
|
./run-vm.sh
|
|
```
|
|
|
|
You can ssh in as the unprivileged user like this:
|
|
|
|
```sh
|
|
ssh -i ./ssh-key/id_ed25519 -o StrictHostKeyChecking=no user@192.168.65.3
|
|
```
|
|
|
|
(doesn't work yet)
|