mirror of https://gitee.com/openkylin/libvirt.git
virsh: Put a new line char after <alias/> in attach-disk
Each attribute is on its own line. We forgot to add new line character for <alias/> Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
8feeee9ee2
commit
dc2d82a2b6
|
@ -683,7 +683,7 @@ cmdAttachDisk(vshControl *ctl, const vshCmd *cmd)
|
|||
virBufferAsprintf(&buf, "<serial>%s</serial>\n", serial);
|
||||
|
||||
if (alias)
|
||||
virBufferAsprintf(&buf, "<alias name='%s'/>", alias);
|
||||
virBufferAsprintf(&buf, "<alias name='%s'/>\n", alias);
|
||||
|
||||
if (wwn)
|
||||
virBufferAsprintf(&buf, "<wwn>%s</wwn>\n", wwn);
|
||||
|
|
Loading…
Reference in New Issue