[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Re: multiple disk images, how to?
Charles Duffy wrote: > Think of it as if you were sourcing a file to get your config settings > in bash. Someone could have logic like this: > > if [ -n "$foo" ] ; then > DISK="/dev/foo/bar${foo}" > else > DISK="/dev/foo/baz" > fi Even if that's desirable for <insert insane scenario here>... > ...and that would be valid, so you wouldn't want to call the config file > invalid if it had more than one line matching ^[[:space:]]*DISK= ...you would want at least be able to throw a warning when it happens, since regular users probably expect standard config-file semantics from a config file, not Python semantics. Another approach would be to note in each configuration file that it's Python syntax. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |