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

configure VMs via vm-config.* features #956

Closed
wants to merge 17 commits into from
Closed

Conversation

cfm
Copy link
Member

@cfm cfm commented Feb 29, 2024

Status

Work in progress

Description of Changes

Towards #936

Changes proposed in this pull request:

Testing

If you made non-trivial code changes, include a test plan and validated it for this PR.

Deployment

Any special considerations for deployment? Consider both:

  1. Upgrading existing pilot instances
  2. New installs

Checklist

If you have made changes to the provisioning logic

  • All tests (make test) pass in dom0

If you have added or removed files

  • I have updated MANIFEST.in and rpm-build/SPECS/securedrop-workstation-dom0-config.spec

If documentation is required

  • I have opened a PR in the docs repo for these changes, or will do so later
  • I would appreciate help with the documentation

@cfm
Copy link
Member Author

cfm commented Feb 29, 2024

As of 5873c63, this works as intended:

Script started on 2024-02-28 16:58:08-08:00 [TERM="xterm-256color" TTY="/dev/pts/6" COLUMNS="80" LINES="24"]
[user@dom0 securedrop-workstation]$ qvm-run --pass-io sd-app qubesdb-list /vm-config/
QUBES_GPG_DOMAIN
SD_SUBMISSION_KEY_FPR
[user@dom0 securedrop-workstation]$ qvm-run --pass-io sd-app qubesdb-read /vm-config/QUBES_GPG_DOMAIN
sd-gpg
[user@dom0 securedrop-workstation]$ qvm-run --pass-io sd-app qubesdb-read /vm-config/SD_SUBMISSION_KEY_FPR
5F4BB12BAF811C789347DDFF148B87347CB3DDA1
[user@dom0 securedrop-workstation]$ 
exit

Script done on 2024-02-28 16:58:36-08:00 [COMMAND_EXIT_CODE="0"]

@cfm
Copy link
Member Author

cfm commented Apr 3, 2024

This will need to be rebased once 4_2-compat-deb12-base hits main.

@cfm
Copy link
Member Author

cfm commented Apr 24, 2024

Superseded by #1001.

@cfm cfm closed this Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants