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

Make Fedora minimal template working with salt out of the box #2600

Closed
marmarek opened this Issue Jan 23, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@marmarek
Member

marmarek commented Jan 23, 2017

Qubes OS version (e.g., R3.2): R3.2

Affected TemplateVMs (e.g., fedora-23, if applicable):

fedora-24-minimal, fedora-25-minimal


Expected behavior:

Salt can be used to configure minimal template.

Actual behavior:

Salt configuration fails because sudo package is missing.

Related issues:

Related discussions:
https://groups.google.com/d/msgid/qubes-users/98959ea4-7ca8-25d8-d52d-2910f931a4ef%40openmailbox.org
https://groups.google.com/d/msgid/qubes-users/ab8158a6-3d58-f913-960d-41e2ac2a4958%40openmailbox.org

@marmarek marmarek added this to the Release 3.2 updates milestone Jan 23, 2017

@marmarek marmarek self-assigned this Jan 23, 2017

marmarek added a commit to marmarek/qubes-mgmt-salt that referenced this issue Feb 14, 2017

ssh-wrapper: don't use qvm-copy-to-vm
Since the intention of 'scp' here is to:
 - override target file (if any)
 - place it in specific directory, outside of QubesIncoming
it doesn't make sense to use qvm-copy-to-vm, as it adds more troubles
than good. Simple 'cat' is enough.
This solves problem when QubesIncoming is not cleaned up after failed
salt invocation, preventing further attempts (becuse qvm-copy-to-vm
refuse to override existing files).

QubesOS/qubes-issues#2600

@qubesos-bot qubesos-bot referenced this issue in QubesOS/updates-status Apr 6, 2017

Closed

mgmt-salt v4.0.1 (r4.0) #27

marmarek added a commit to QubesOS/qubes-mgmt-salt that referenced this issue Feb 12, 2018

ssh-wrapper: don't use qvm-copy-to-vm
Since the intention of 'scp' here is to:
 - override target file (if any)
 - place it in specific directory, outside of QubesIncoming
it doesn't make sense to use qvm-copy-to-vm, as it adds more troubles
than good. Simple 'cat' is enough.
This solves problem when QubesIncoming is not cleaned up after failed
salt invocation, preventing further attempts (becuse qvm-copy-to-vm
refuse to override existing files).

QubesOS/qubes-issues#2600

(cherry picked from commit c437c20)

@qubesos-bot qubesos-bot referenced this issue in QubesOS/updates-status Feb 12, 2018

Closed

mgmt-salt v3.2.6 (r3.2) #406

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