Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bwesterb/xennigan
Shell for your xen dom0 to allow domu admins to issue some xl commands
https://github.com/bwesterb/xennigan
shell xen
Last synced: 21 days ago
JSON representation
Shell for your xen dom0 to allow domu admins to issue some xl commands
- Host: GitHub
- URL: https://github.com/bwesterb/xennigan
- Owner: bwesterb
- Created: 2016-02-01T22:47:04.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-12-29T10:19:50.000Z (about 3 years ago)
- Last Synced: 2023-03-11T03:27:32.510Z (almost 2 years ago)
- Topics: shell, xen
- Language: Python
- Size: 15.6 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
xennigan
========`xennigan` is a shell to run on a xen dom0 to give domu admins the ability
to issue some `xl` commands for their domu.Example
ssh xennigan@dom0
nameofdomu> help
Available commands:
status shows status of domu
shutdown sends shutdown signal to domu
reboot sends reboot signal to domu
console opens console to domu
destroy immediate shutdown of domu
create starts domu if not running
exit exits shell
nameofdomu> status
Name ID Mem VCPUs State Time(s)
nameofdomu 37 2048 8 -b---- 497606.7
nameofdomu> rebootInstallation
------------First build and install.
apt-get install cmake build-essential libboost-regex-dev \
libboost-filesystem-dev libboost-program-options-dev \
libboost-system-dev libreadline-dev python3
mkdir build && cd build
cmake ..
make
sudo make installBy default, `xennigan` assumes your xen domu configuration files are stored
as/etc/xen/nameofdomu.cfg
Put the SSH public keys allowed to control the domu `nameofdomu` in
/etc/xen/nameofdomu.keys
Then run
update-xennigan
This will check the environment and willl fill the `authorized_keys` file
of the `xennigan` user appropriately.An admin can now control their domu by SSHing as the `xennigan`
user to the dom0.TODO
----- Write man page.
- Packaging.