mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
virsh: Fix comment for net-undefine
net-undefine doesn't only undefine an inactive network, but also an active network(persistent), it just cannot undefine a transient network. Signed-off-by: Li Yang <liyang.fnst@cn.fujitsu.com> Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
2b748fb604
commit
48da618719
@ -798,10 +798,10 @@ cmdNetworkStart(vshControl *ctl, const vshCmd *cmd)
|
|||||||
*/
|
*/
|
||||||
static const vshCmdInfo info_network_undefine[] = {
|
static const vshCmdInfo info_network_undefine[] = {
|
||||||
{.name = "help",
|
{.name = "help",
|
||||||
.data = N_("undefine an inactive network")
|
.data = N_("undefine a persistent network")
|
||||||
},
|
},
|
||||||
{.name = "desc",
|
{.name = "desc",
|
||||||
.data = N_("Undefine the configuration for an inactive network.")
|
.data = N_("Undefine the configuration for a persistent network.")
|
||||||
},
|
},
|
||||||
{.name = NULL}
|
{.name = NULL}
|
||||||
};
|
};
|
||||||
|
@ -2590,7 +2590,8 @@ Start a (previously defined) inactive network.
|
|||||||
|
|
||||||
=item B<net-undefine> I<network>
|
=item B<net-undefine> I<network>
|
||||||
|
|
||||||
Undefine the configuration for an inactive network.
|
Undefine the configuration for a persistent network. If the network is active,
|
||||||
|
make it transient.
|
||||||
|
|
||||||
=item B<net-uuid> I<network-name>
|
=item B<net-uuid> I<network-name>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user