subpop / vm Goto Github PK
View Code? Open in Web Editor NEWa command line utility that provides a high-level interface to create and manage virtual machines
License: MIT License
a command line utility that provides a high-level interface to create and manage virtual machines
License: MIT License
It's common for images to come configured with cloud-init. Adding support for providing a cloud-init ISO (or even creating a suitable one from provided user inputs) would be nice.
Stuff to do:
Serial & console connections are doing that thing where long input lines don't wrap to the next line, rather they overwrite the current input line. Is this something that readline solves?
There are a handful of external programs that are called at runtime. Their presence should be checked before doing anything.
qemu-img
When connecting via SSH, the IP detection logic sometimes fails.
[link@thelio ~]$ vm connect -m ssh ic-rhel7-dev
error: no interfaces detected for ic-rhel7-dev
[link@thelio ~]$ vm connect -m ssh ic-rhel7-dev
error: no interfaces detected for ic-rhel7-dev
[link@thelio ~]$ vm connect -m ssh ic-rhel7-dev
error: no interfaces detected for ic-rhel7-dev
[link@thelio ~]$ vm connect -m ssh ic-rhel7-dev
error: no interfaces detected for ic-rhel7-dev
[link@thelio ~]$ vm connect -m ssh ic-rhel7-dev
[link@localhost ~]$ vm foo
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8ce14a]
goroutine 1 [running]:
main.main.func20(0xc00003aa00, 0x7fff79ad69c4, 0x3)
/home/link/Projects/vm/cmd/vm/main.go:444 +0x8a
github.com/urfave/cli/v2.(*App).Run(0xc000001b00, 0xc00000e080, 0x2, 0x2, 0x0, 0x0)
/home/link/go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:304 +0x5f0
main.main()
/home/link/Projects/vm/cmd/vm/main.go:452 +0x21a2
Running vm create
(without a positional image name argument) should report an error about a missing image name, not the underlying stat
error that comes back when it tries to look up the file: stat /home/link/.local/share/vm/images/.qcow2: no such file or directory
Allow for customizing other domain features like memory at creation (i.e. vm create --memory 1GB
)
--memory
--video <type>
--network <bridge_device_name>
That destroys the VM automatically when it is powered off.
For those times when you download a qcow2 image externally and have a copy of it present on disk.
The term width and height of serial connections is set to the calling terminal emulator's window width & height and does not adjust dynamically when the terminal emulator resizes. Is it possible to adjust the term width and height inside the VM?
Similar to virsh edit
, but more user friendly (i.e. no editing XML by hand).
Is it possible to set the TERM
to xterm-256color
, or inherit the TERM
value from the calling environment?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.