I have a stackscript I use to initially setup my linodes, and I'd like to use those same scripts to set up local Linux VMs. Since the script is essentially just bash, except for the variable definitions, I'd like to know if there's some way to craft the script such that it works both on a Linode (giving me the GUI for defining my variables) and locally (maybe just prompting to enter variable values). Has anyone tried that, and if so, do you have any pointers? Or, is there some debian package that can be installed to allow running a stackscript as-is?
Thanks.