bashvm - CLI VM Manager - bashvm.com
Hello everyone,
I’m very excited to present everyone bashvm, I have been working on for some time and I wanted to get more exposure on the project.
bashvm is basically a bash script that can manage virtual machines with only ssh access required, In result it has very little overhead and reduces the attack surface for the hypervisor since it is just a bash script.
More details can be found on https://bashvm.com
Screenshots: https://bashvm.com/screenshots.html
Guide: https://bashvm.com/guide.html
Github: https://github.com/babywhale321/bashvm
Here is an example of creating a new vm using the automate option
bashvm has many features and many more to come so all comments or suggestion are welcomed.
Comments
any bench?
HostBrr aff best VPS; VirmAche aff worst VPS.
Unable to push-up due to shoulder injury 😣
https://lowendspirit.com/discussion/comment/171849/#Comment_171849
The Ultimate Speedtest Script | Get Instant Alerts on new LES/LET deals | Cheap VPS Deals
FREE KVM VPS - FreeVPS.org | FREE LXC VPS - MicroLXC
Node
VM Made with bashvm
I hope everyone gets the servers they want!
@babywhale Thanks for bashvm!
Over the last couple of weeks I have tried bashvm on three dedicated servers, running either Debian 12 or Ubuntu 22.04 LTS. I have tried to go through variations on the VM install procedures, such as, for example, changing, as scripted by bashvm, the source of the software installed in the VM between official distribution supplied qcow2 images and official distribution supplied ISOs. bashvm also provides, and as additional examples of my testing, I have tried to test multiple VM networks on the Node, port forwarding, and IPv6 with dhcpv6.
As a clueless™ guy, I can say that the most basic use of bashvm, autocreated VMs made from official distribution supplied qcow2 cloud images, are pretty easy. My workflow, so far, for bashvm autocreated VMs, the simplest case, looks like this [the numbers inside brackets are bashvm menu sequences]:
Installing from official distribution supplied ISOs is a little more complicated, especially if we decide to add a different Node network. Also, VMs created from ISOs require VNC to install the VM's internal software, configure the VM's IPv6, install openssh-server, etc. It appears that bashvm might support almost any ISO, but, for example, I haven't tried any BSD ISOs as yet.
Probably most LESbians already know @babywhale from his dedicated work on the FreeVPS project. Now, in addition to his FreeVPS work, @babywhale also has given us bashvm! Notably, bashvm is open source under the MIT license. Also, delightfully, bashvm runs over ssh, so no web framework is required -- and, accordingly, no possibility of attacks and compromises exists via a web framework which isn't there!
During the entire time that I have known @babywhale, both in the FreeVPS context and now in the bashvm context, he always has been super friendly, super dependable, and super hard working! He always responds almost immediately to the dozens of questions I ask. He steadily and consistently improves bashvm! He is beyond awesome! @babywhale deserves a huge round of applause from everyone on the Low End! 👏👏👏👏👏 Certainly there is no doubt whatsoever that @babywhale is one of the most dedicated and one of the best contributors to our Low End community!
I am cautiously optimistic that bashvm will enable MetalVPS, finally, to more fully utilize excess server capacity by enabling awesome community members to receive high quality, performant libvirt KVM VMs created on MetalVPS servers by bashvm.
Lest anyone become too afraid, no, MetalVPS isn't giving up its on-the-metal mantra. But, awesome MetalVPS Neighbors ought also to have the option of running on emulated or virtual KVM metal. And bashvm provides a wonderful opportunity to make emulated metal or virtual metal MetalVPSes happen safely and dependably via libvirt. More on all this before too long!
Thanks to @babywhale for bashvm!
Thanks to @crunchbits for wonderful Crunchy!
I hope everyone gets the servers they want!
Great to see a fully textual menu system: takes me back to one I created some 30 years ago.
No bloat there, it seems.
Nice one @babywhale
It wisnae me! A big boy done it and ran away.
NVMe2G for life! until death (the end is nigh)
Just for crazy fun, If someone wanted to write a front end web interface for bashvm, maybe it could use something like:
https://bashsta.cc/
https://github.com/cgsdev0/bash-stack
HN discussion at https://news.ycombinator.com/item?id=37265392 includes this gorgeous tidbit:
"Other similar projects require a CGI-capable web server. This one instead uses djb's tcpserver. Guess next step will be to drop any external dependencies."
-- https://news.ycombinator.com/item?id=37271827
Everyone here knows about djb, right? https://cr.yp.to
Probably bashvm could be added to FOSSBilling? @BelleNottelling
Or FOSSBilling could be somewhat simplified and re-implemented in bash-stack?
Of course, SimplyFOSSBilling would use djb's qmail. And flat file databases processed with awk.
Is it really true that Gmail started with qmail?
Last time I looked there was a working implementation of qmail in NetBSD's pkgsrc.
I hope everyone gets the servers they want!
Hypervisor
https://imgur.com/a/A4Gt5Kn
VM
https://imgur.com/a/tfWZZG1
Get a free VPS! - freevps.org
@babywhale continues working hard on bashvm!
I hope everyone gets the servers they want!
Hello Everyone!
I Just recently added a whole bunch of things and after allot of hours of testing, I think that bashvm is in a good place right now so i thought it would be a good time to finally publish the first release!
You can see the most recent changes at
https://github.com/babywhale321/bashvm/releases/tag/05-28-2024
Get a free VPS! - freevps.org
Is it really necessary to have a bunch of screenshots to show a cli application?
Wouldn't it be much easier to just use text directly at github?
I'm not sure what you mean? The screenshots are just to show you a quick overview of the functions / capability's
Get a free VPS! - freevps.org
Yes I understand that, but it's a text based application, why do screenshots when you could have just copied the text and pasted it into the page at github? I think github has enough formatting options to make it look good.
it would lower resources for the user but i like that it shows what to actually expect from the program
Get a free VPS! - freevps.org