提交 16b89429 编写于 作者: D Daniel Veillard

undefine command can't take an ID

* src/virsh.c: patch from Evgeniy Sokolov for the undefine command
  which can't take an id
Daniel
上级 edbbb3aa
Thu Jul 17 13:47:56 CEST 2008 Daniel Veillard <veillard@redhat.com>
* src/virsh.c: patch from Evgeniy Sokolov for the undefine command
which can't take an id
Wed Jul 16 22:36:43 CEST 2008 Daniel Veillard <veillard@redhat.com>
* src/libvirt.c src/openvz_driver.c: fix the description of the ID
......
......@@ -978,7 +978,8 @@ cmdUndefine(vshControl * ctl, vshCmd * cmd)
if (!vshConnectionUsability(ctl, ctl->conn, TRUE))
return FALSE;
if (!(dom = vshCommandOptDomain(ctl, cmd, "domain", &name)))
if (!(dom = vshCommandOptDomainBy(ctl, cmd, "domain", &name,
VSH_BYNAME|VSH_BYUUID)))
return FALSE;
if (virDomainUndefine(dom) == 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册