-
Notifications
You must be signed in to change notification settings - Fork 665
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
[regression] Multipass exec command does not work with "" #3119
Comments
Hi @albertlorente-aimsun, I am not able to reproduce your bug. Executing the command you mentioned in Multipass 1.12.0 on Linux, with the |
@albertlorente-aimsun Another thing: you mention in the title that the issue is about double quotes, and also use double quotes in the description of the bug after the command-line you execute. Can you please clarify where are the double quotes in the command? Thanks! |
Hi @albertlorente-aimsun, thanks a lot for clarifying! This gives us a much better idea of what's happening and we are aiming to provide a fix for this as soon as possible. |
Hi Luis! one question, can I return to the RC version? I've tried to remove multipass 1.12.0 and install again with |
@albertlorente-aimsun All the snap channels are set to retrieve Multipass 1.12.0. You can try with |
3117: Fix newlines and empty strings which go through SSH r=townsend2010 a=luis4a0 This fixes #3116, the execution of strings containing quotes and newlines, like `multipass exec instance -- bash -c 'blah\nblah'`. This also fixes #3119, the execution of strings containing empty substrings delimited with single or double quotes. Co-authored-by: Luis Peñaranda <[email protected]>
3117: Fix newlines and empty strings which go through SSH r=townsend2010 a=luis4a0 This fixes #3116, the execution of strings containing quotes and newlines, like `multipass exec instance -- bash -c 'blah\nblah'`. This also fixes #3119, the execution of strings containing empty substrings delimited with single or double quotes. Co-authored-by: Luis Peñaranda <[email protected]>
3117: Fix newlines and empty strings which go through SSH r=townsend2010 a=luis4a0 This fixes #3116, the execution of strings containing quotes and newlines, like `multipass exec instance -- bash -c 'blah\nblah'`. This also fixes #3119, the execution of strings containing empty substrings delimited with single or double quotes. Co-authored-by: Luis Peñaranda <[email protected]>
3117: Fix newlines and empty strings which go through SSH r=townsend2010 a=luis4a0 This fixes #3116, the execution of strings containing quotes and newlines, like `multipass exec instance -- bash -c 'blah\nblah'`. This also fixes #3119, the execution of strings containing empty substrings delimited with single or double quotes. Co-authored-by: Luis Peñaranda <[email protected]>
3117: Fix newlines and empty strings which go through SSH r=townsend2010 a=luis4a0 This fixes #3116, the execution of strings containing quotes and newlines, like `multipass exec instance -- bash -c 'blah\nblah'`. This also fixes #3119, the execution of strings containing empty substrings delimited with single or double quotes. Co-authored-by: Luis Peñaranda <[email protected]>
Describe the bug
Before the 1.12.0 version I can execute this command without problems:
multipass exec test -- ssh-keygen -b 2048 -t ed25519 -f /home/ubuntu/.ssh/id_rsa -N '' -q
But with the last update, all after '' are not executed (the '' either). If I run the command inside the multipass instance, it works fine!
The command does not work because the answer is: "option requires an argument -- N"
To Reproduce
How, and what happened?
multipass exec test -- ssh-keygen -b 2048 -t ed25519 -f /home/ubuntu/.ssh/id_rsa -N '' -q
and see that the -q option is not take in careAdditional info
OS:
Ubuntu 18.04
multipass version
multipass 1.12.0
multipassd 1.12.0
multipass info --all
Name: test
State: Running
IPv4: 10.56.33.196
Release: Ubuntu 18.04.6 LTS
Image hash: 8dd2e6b5e5aa (Ubuntu 18.04 LTS)
CPU(s): 5
Load: 0.00 0.03 0.02
Disk usage: 1.2GiB out of 29.0GiB
Memory usage: 130.9MiB out of 15.7GiB
Mounts: --
multipass get local.driver
qemu
The text was updated successfully, but these errors were encountered: