I guess the first Q that occurs to me is why you feel the need to send virtual keystrokes.
Seems to me in most cases if you’re trying to execute something on a Linux box there should be plenty of ways to do so usually without having to send a virtual keystroke.
Unfortunately that’s not a very constructive or helpful answer. Please see http://www.setlinuxvm.com/ which uses keystrokes to setup a newly provisioned VM (networking, password, LVM expansion, installations of latest versions of products). We use this for provisioning of lots of linux based operating systems including CentOS, Ubuntu, Debian, Fedora, Linux Mint.
I just watched the video “How it works” on the setlinuxvm website.
It seems pretty clear that no keystrokes are being sent to the VM, it merely accepts your keystroke imput, creates an XML file that contains the information you just entered using Powershell and then embeds the information into a BASH command to be executed in the Guest.
My question again is why you feel you need to send virtual keystrokes.
I can imagine an <interactive> session where you might be communicating with some agent in the Guest which might require such a thing, but that’s a far cry from the demo I saw in the video.
If you describe exactly what you’re trying to accomplish so it’s understood how what you’re trying to do is different then I might understand better your need.
Yes, it does look like the method you use to login to the remote machine is an interactive session.
Without being able to provide an answer to your originaal question, it seems to me that a simple workaround which is probably the standard method setup such scripts use is to simply provide the credentials in the script. I don’t know the exact type of session SetLinuxVM sets up but if it’s an SSH session(hopefully) or telnet(hopefully not) this should be easy to configure.
Well obviously if you are provisioning a VM there is no networking set in the operating system and therefore no way to SSH or Telnet in. That is why setups use console access. As mentioned this works on EVERY other Linux distribution except openSUSE, and is used by multiple tools for both VMWare and Hyper-V for template configuration.
Please don’t worry about workarounds unless you have actually reproduced the problem and understand it properly.
My main question after all this remains exactly as in the first post. Is there a keyboard mapping or something that is making openSUSE different from other Linux distributions?
Why is it using a different ASCII character set than everything else?
I can’t imagine that SetLinuxVM should be different than any other “provisioning” app. Fundamentally all such apps are scripts.
If you’re not remoting into the VM, the setup should be even simpler in concept because as you say… There is no networking that needs to be configured/setup.
I strongly recommend you ask the SetLinuxVM folks how to pass your credentials directly to the VM in the script without requiring an interactive session. It’s not just a “workaround,” it’s generally the preferred way for provisioning scripts to run so that it removes <all> interactivity, you simply click the script and the whole thing runs from beginning to end.
BTW - The main reason I see to consider SetLinuxVM is to leverage any existing Powershell skills you have. Else, I’d recommend a well-known, popular cross-platform and cross-technology provisioning app like Vagrant http://www.vagrantup.com/