What Are You Doing Right Now
-
Enjoying the ultimate snack:
-
I also got a jar of store brand Nutella. Hmm, why the hell not!
-
This is where we were eating it.
-
In the car waiting for the wife to get our chippy dinner
-
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.)