Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

An asynchronous noVNC client

Project description

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()

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for novncbot, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size novncbot-0.0.1-py3-none-any.whl (15.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size novncbot-0.0.1.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page