Eduardo Habkost wrote:
On Mon, May 11, 2009 at 01:52:19PM -0400, Mike Burns wrote:
Michael Goldish wrote:
<snip>
2. Why not just pass the parameters via the command line, e.g.
install_command = my_script.sh param1 param2
That would work as well. It could be done either way, but if someone
wanted to use something other than bash, then this way might be easier.
What is bash-specific about environment variables or command-line args?
Also, exporting the config dictionary as environment variables doesn't
exclude the possibility of simply passing command-line arguments on
install_command, if the user wants to do so. Both methods would work.
I suppose it doesn't. I've found that some languages make it easier to
deal with command line as opposed to environment, but both would work.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html