mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-18 10:35:20 +00:00
virsh: Offer only persistent domains for autostart
The 'autostart' command accepts only persistent domains. Make the completer return only those. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
3b225256cd
commit
74f044acf7
@ -1037,7 +1037,7 @@ static const vshCmdInfo info_autostart[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const vshCmdOptDef opts_autostart[] = {
|
static const vshCmdOptDef opts_autostart[] = {
|
||||||
VIRSH_COMMON_OPT_DOMAIN_FULL(0),
|
VIRSH_COMMON_OPT_DOMAIN_FULL(VIR_CONNECT_LIST_DOMAINS_PERSISTENT),
|
||||||
{.name = "disable",
|
{.name = "disable",
|
||||||
.type = VSH_OT_BOOL,
|
.type = VSH_OT_BOOL,
|
||||||
.help = N_("disable autostarting")
|
.help = N_("disable autostarting")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user