Skip to content

shawrkbait/novncbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

#!/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()

About

A headless automation tool for interacting with noVNC

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages