Skip to content

Simple and secure access to your own OpenNebula VMs via SPICE protocol.

License

Notifications You must be signed in to change notification settings

kvaps/one-connect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 

Repository files navigation

OpenNebula VM Connector

Simple and secure bash-script that provides your users access to own OpenNebula VMs via SPICE. VNC is also supported.

No Sunstone needed, connecting carried directly from user's desktop.

Script automatically suspend VM after disconnect and resume VM when user connect.

It allows you to organize simplest VDI structure.

Usage

Usage:    vm-connect.sh --host HOST [--username USERNAME]

Arguments:
    -H, --host                  OpenNebula hostname or IP
    -u, --user                  Username for SSH-connection
    -l, --log-file              Path to log file
    -d, --debug                 Enable debug output
    -h, --help                  This message

Installation

  • Install dependings
  • Configure passwordless SSH authentication to your OpenNebula host.
  • Authorise user on OpenNebula host via oneuser login command.
  • Also you may to configure SSH Auth

Dependings

Linux

Just install virt-viewer and zenity packages.

If you intend to use Cyrillic and other character encodings in virtual machines names, please install recode, it will be convert html characters in virtual machines names.

Windows

Install:

Also, don't forget to add virt-viewer bin folder to your windows PATH [howto]

Git Bash

The simple way. Just install:

My zenity build for windows already contains recode package.

Create shortcut for start vm-connect script:

"C:\Program Files\Git\usr\bin\mintty.exe" -w hide -e bash -c "C:/Soft/one-connect/vm-connect.sh -H hostname -u user"

Or for enable debug output:

"C:\Program Files\Git\usr\bin\mintty.exe" -e bash -c "C:/Soft/one-connect/vm-connect.sh -d -H hostname -u user"

About

Simple and secure access to your own OpenNebula VMs via SPICE protocol.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages