@black3dynamite said in KVM Templates:
@stacksofplates That's cool, virt-customize has an option to copy files or directories into the image.
Ya, libguestfs has a bunch of cool tools.
@black3dynamite said in KVM Templates:
@stacksofplates That's cool, virt-customize has an option to copy files or directories into the image.
Ya, libguestfs has a bunch of cool tools.
Also, you don't need IUS for any of that. It's all in the CentOS SCL repos.
Also as @JaredBusch mentioned disabling the firewall and SELinux, and he's a "Sr. Security Engineer"...................
@aaronstuder said in Ansible role for GRAV:
@stacksofplates said in Ansible role for GRAV:
From this link, it looks like a full CMS? I thought it was a wiki.
Right. It’s a full CMS. However you can do just Wiki functions using some themes.
If you use Grafana you’ll need something to pipe data into it. It’s just a graphing application. Prometheus and Node Exporter work really well.
I’ve used rsnapshot before and it works really well. Uses hard links to save space. Won’t help with your VM disks but will help with files.
Here's using duperemove. It's annoyingly verbose so I can't get the output and the command in the same screenshot.
I ran
/tmp/duperemove/duperemove -hdr --hashfile=tmp/stuff.hash /mnt
And got
@dafyre said in Storage and Data Locality:
@aaronstuder said in Storage and Data Locality:
rsync?
I had considered that. I can't remember why I decided against that at the moment. I'm currently using it to transfer my NextCloud backups off-site.
That's what rsnapshot uses under the hood. They just take care of the options and everything for you.
I usually use just a directory. If the VM has to store data I make a preallocated QCOW2 for the data. If it's stateless, I don't usually bother with preallocating.
I have two of the older UVC Micros for our house. They work pretty well.
Slitaz is the lightest usable one I've found. It's only about ~40MB. Much smaller than even Puppy.
@jaredbusch said in oVirt Single Server Install - Mgmt Network issues:
@stacksofplates said in oVirt Single Server Install - Mgmt Network issues:
Sadly I don't do anything with oVirt. I run OpenStack at home and bare KVM at work.
SOrry, I thought you were doing oVirt stuff. my bad.
No prob. I think @Tim_G was doing something with it. I just find it too bloated. It’s pretty sad whenever it’s easier to do an all in one OpenStack than it is to do oVirt.
@tim_g said in Sending "Windows" key to Windows VM in Fedora KVM:
Not at my desk atm, but will it still work on the host?
You have to uncheck it to do something on the host again.
Unless you have dual monitors. It works if you can click in another window in the host (or if you minimize the VM from the menu bar at the top).
@tim_g said in Sending "Windows" key to Windows VM in Fedora KVM:
Yeah that's not going to work.
I can't use two keyboards, and manually checking/unchecking that box every time is way too inconvenient.
How would you expect it to know when you want to use it where?
If you move your mouse up to the top and unmaximize the window you can use it in the host again. It just can't tell when you want buttons to work in one vs the other without being focused on another window.
@jaredbusch said in Favorite Linux Commands:
@travisdh1 said in Favorite Linux Commands:
@wirestyle22 said in Favorite Linux Commands:
history
as of latelol
ctrl + r
Searches typed query in command history.Pretty much this. Use it all the time.
I've been using ZSH and I have it automatically do that.
@stacksofplates said in Favorite Linux Commands:
@jaredbusch said in Favorite Linux Commands:
@travisdh1 said in Favorite Linux Commands:
@wirestyle22 said in Favorite Linux Commands:
history
as of latelol
ctrl + r
Searches typed query in command history.Pretty much this. Use it all the time.
I've been using ZSH and I have it automatically do that.
So as I type it dynamically auto suggests things. Then just hit ctrl+e to auto complete.
All I did was set /var/www/html/admin
to httpd_sys_content_t
And set /var/log/pi-hole.log
to dnsmasq_var_log_t
.
@hobbit666 said in Local Encryption ... Why Not?:
Just been re-reading some of this,
I need to "reinstall" my computer, might do it this afternoon. (need to install another SSD coz i can
)
Might give Scott's idea of nothing stored on the local machine a go
have everything On-Line, maybe not even use Outlook
. Most of the files i need/use are either in SharePoint or my OneDrive (or should be going forward)
All of my dotfiles are in version control. Every time I open a new terminal it checks for changes. So really the only thing that's local for me is the applications that are installed (and keys).
@carnival-boy said in Local Encryption ... Why Not?:
@stacksofplates said in Local Encryption ... Why Not?:
If it's using TPM to unlock, all you have to do is turn it on.
Sure, but Bitlocker with TPM allows you to setup a pre-boot pin, so all good.
Right, as long as you require something. I’ve seen some that just do TPM and nothing else. I guess it’s not a gripe I have with Bitlocker. Just the fact that people don’t pay attention to that. LUKS forces a password or some type of key.
@dustinb3403 said in Is Docker a joke or do I just not see the point?:
@stacksofplates said in Is Docker a joke or do I just not see the point?:
@momurda said in Is Docker a joke or do I just not see the point?:
Can you give an example relevant for a small business?
If i worked at Google or Amazon and was responsible for their infrastructure being available to the whole planet all the time i see the point. Why would any company with less than a few hundred million in revs or an equally large user count be interested?Scale isn’t the only thing that matters. The whole purpose is to abstract away the underlying OS from your applications. You want to update an application but your OS doesn’t include the correct libs in their repos? Doesn’t matter. Include the libs in the container. Want to update your application in the middle of the day without affecting users, go ahead. Want to test a new deployment alongside the old one, just deploy with the new image.
OK, so scale isn't the critical component. Performance (cost) is a critical component. The argument is that you're making better use of your server. This I can understand.
What I'm failing to see is, at least in my experience almost every workload I have is different, different kernel, different OS, different focus.
And a traditional scaling system for either performance or uptime requirements fits well enough.
Docker very much feels like FreeNAS does. It's the Jurassic Park Effect in my eyes. DevOps can be given access to a hypervisor and have a system running in a matter of moments, just "because they don't want to bother IT" doesn't seem like a valid reason to need another solution that IT ends up supporting anyways.
How many different OSs do you have? Windows and Linux and something else?
It’s obviously geared towards Linux.
DevOps can be given access to a hypervisor and have a system running in a matter of moments
This isn’t always true and sometimes isn’t allowed for compliance reasons.
And again, you don’t have to be developing anything to use Docker. You can leverage the images that companies put out to run their software (like UNMS). At that point updates are completely separate from the OS.
I’ve been playing with Fedora Atomic Workstation. The base OS is built from rpm-ostree and all of the packages are some type of container (docker, flatpack, etc). The OS doesn’t have anything actually installed. You can pull in the new kernel image and not affect any applications at all. You can even rebase to another OS and still have your applications without change.
It’s all about abstraction, just like with any virtualization.