To compress a disk file use: $> qemu-img convert -c -f qcow2 rtdgw01-vol02.qcow2 -O qcow2 rtdgw01-compressed.qcow2
Category: OS things
OS specials, like systemd-automount….
How to configure docker to use proxy
A proxy is required when the server running Docker does not have direct access to the Internet. Configure the Docker daemon to use a proxy server to access images stored on the official Docker Hub Registry or 3rd-party registries. There are 2 ways to configure the proxy for docker : Configuring proxy variables in the /etc/sysconfig/docker file […]
How to trust a CA certificate in Receiver for Linux
How to trust a CA certificate in Receiver for Linux (Click) Instructions Click on the Lock left of https://… and choose “More Information” Click on “View Certificate” Change to the tab “Details” Highlight your CA certificate in the Certificate Hierarchy field and click the “Export” button Save the certificate (in X.509 Certificate (PEM) format) to […]
Automount using systemd
I will not explain what systemd.automount is, you can read it yourself here..I will give some working examples, I’m using them myself. SSHFS: @: fuse.sshfs noauto,x-systemd.automount,_netdev,user,idmap=user,follow_symlinks,identityfile= ,allow_other,uid=<UID#>,gid=<GID#>,exec 0 0 CIFS: /// cifs noauto,x-systemd.automount,_netdev,[cred=],uid=,gid=,x-systemd.mount-timeout=10s 0 0