Skip to content

[regression] Multipass exec command does not work with ""  #3119

@albertlorente-aimsun

Description

@albertlorente-aimsun

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?

  1. Try to execute 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 care

Additional 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

Metadata

Metadata

Assignees

Labels

bughighHigh priority. Combine with "medium" to signal intermediate medium-high priority.regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions