What Are You Doing Right Now
-
Using this as a guide to see how I can write a little script to take all VMs within KVM that are shutdown and then delete them and their storage.
It's times like this that make me miss objects.
-
This was the result.
for vm in $(virsh list --inactive | tail -n +3 | cut -d' ' -f7); do virsh undefine $vm --remove-all-storage; done
-
@EddieJennings said in What Are You Doing Right Now:
| tail -n +3 | cut -d' ' -f7
What does that do? Don't hate, just trying to save myself some google time.
-
@Obsolesce said in What Are You Doing Right Now:
@EddieJennings said in What Are You Doing Right Now:
| tail -n +3 | cut -d' ' -f7
What does that do? Don't hate, just trying to save myself some google time.
That gets rid of the heading for the output from
virsh list --inactive
and leaves only the VM names forvirsh undefine
.[Edit with more explanation]
tail -n +3
= shows the output starting on the 3rd line (the line which starts with the informaiton you need)
cut -d' ' -f7
= Using the delimiter of a space, show the output starting on space 7 (which will be the VM names). I'm not as familiar with cut, so I'm probably explaining it wrong, but from the behavior I saw that seems to be what it was doing. -
-
Quiet day at home alone. Went out for some lunch to a local plaza. Got pupusas and some pineapple fried rice (two different shops.) All SO good.
-
Just turned on "multi badges" on NodeBB.
-
Well, the upside to that train wreck of a thread is that we now have about the most perfect reference thread to point people to for both "you can't actually think that FreeNAS and ZFS are a cult" and "why developers can't be used as IT resources." It's been a really long time since we had any thread like that on ML. A lot of us are used to those "repeating the old myths that we've long ago killed off" style threads from the land of the it seems almost bizarre to see one here. But they do happen, and I truly suspect that our poster was just the victim of someone trolling him and he didn't realize.
-
Listening to Avengers Theme Song from 2012 to 2019
Youtube Video -
I got promoted to community rep for NodeBB this week!
-
Almost home, 45 minutes to go
-
monday morning, why do you torment me so ......
-
Checking out another SQL client called Sequeler to manage SQLite, MySQL, MariaDB and PostgreSQL.
https://flathub.org/apps/details/com.github.alecaddd.sequelerI originally found it via Elementary OS App Center.
-
Watching the Uber Eats delivery time estimate become later and later.
-
@EddieJennings said in What Are You Doing Right Now:
Watching the Uber Eats delivery time estimate become later and later.
That's because you have to wait for Uber to eat.
-
recording a few SAMIT episodes (no, not about ZFS, haha.)
-
Nuking spammers.
-
was awakened by cops last night, I guess there was a gas leak down the street. was up til 12:30-1:00.
wokeup at 7:20 and got dressed, on my way out the door I notice that my middle console, glove compartment, and otherwise were open, Im missing a 100.00 cologne, about $20 in spare change, everything else at first glance is there, apparently neighbors caught kids in their car at 2:00 something this morning.Happy Monday.
-
@WrCombs said in What Are You Doing Right Now:
was awakened by cops last night, I guess there was a gas leak down the street. was up til 12:30-1:00.
wokeup at 7:20 and got dressed, on my way out the door I notice that my middle console, glove compartment, and otherwise were open, Im missing a 100.00 cologne, about $20 in spare change, everything else at first glance is there, apparently neighbors caught kids in their car at 2:00 something this morning.Happy Monday.
Welp, they have nothing better to do since they were awake and now allowed to be in their homes
-
Patching Windows Server 2019 (with GUI) template -- taking forever.