Metadata-Version: 2.1
Name: novncbot
Version: 0.1.0
Summary: An asynchronous noVNC client
Home-page: https://github.com/shawrkbait/novncbot
Author: Shawn Johnson
Author-email: sjohnson@axiomega.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: selenium

# noVNCbot
Send keystrokes to a noVNC session.
## Usage
This is most useful for appending to the commandline of an initial OS install in OpenStack
## Example
First, Boot from an install ISO. The following will connect via noVNC and append to the boot arguments
```python
#!/usr/bin/env python3
from novncbot import NoVNCbot

console_url = "<noVNC URL>"
bot = NoVNCbot()
bot.connect(console_url)

# Disable consistent network device naming
bot.sendKeys(Keys.TAB)
bot.sendKeys(" biosdevname=0 net.ifnames=0")
bot.sendKeys(Keys.ENTER)

bot.disconnect()
```


