|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH][RFC] Fix help option of xm create
Hi,
I found strange behaviors and messages when tested the following
commands.
- xm create --help [config file]
- xm create --help_config [config file]
- xm help create
<cf.>
# xm create --help
Usage: create [options] [vars]
Create a domain
(snip)
addresses for virtual network interfaces. This must be a unique
value across the entire cluster.
Error: Cannot open config file "xmdefconfig"
# xm create --help /xen/vm1.conf
Usage: create [options] [vars]
Create a domain.
(snip)
addresses for virtual network interfaces. This must be a unique
value across the entire cluster.
Using config file "/xen/vm1.conf".
The following are automically imported:
import sys
import os
import os.path
from xen.util.ip import *
# xm create --help_config /xen/vm1.conf
Using config file "/xen/vm1.conf".
The following are automically imported:
import sys
import os
import os.path
from xen.util.ip import *
# xm help create
Usage: create [options] [vars]
Create a domain.
(snip)
addresses for virtual network interfaces. This must be a unique
value across the entire cluster.
Error: Cannot open config file "xmdefconfig"
I made this patch not to display these messages. But I'm wondering
whether my approach is right, and the "/etc/xen/xmdefconfig" should
be created to solve this problem.
I need any comments about this matter or reason why the help_config
option's behavior.
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Best regards,
Kan
Attachment:
help_create.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |