Rénich's Blog

All articles

Howto: Como actualizar tus imágenes virtuales en Fedora

Wed 10 August 2022

Para actualizar imágenes virtuales pre-existentes en Fedora, puedes usar virt-customize; provisto por guestfs-tools.

# instalar
dnf -y install guestfs-tools

# actualizarlas
virt-customize -a /var/lib/libvirt/images/fast/fedora36.qcow2 --smp 4 --memsize 4096 --update --selinux-relabel
virt-customize -a /var/lib/libvirt/images/fast/centos-stream8.qcow2 --smp 4 --memsize 4096 --update --selinux-relabel
virt-customize …

Actualizando la imágen de instalación de Fedora

Tue 03 May 2022

Refrescar la imagen de instalación de Fedora no tiene chiste. Por lo menos no tanto chiste como generarla.

Aquí va como:

# te haces root
su -

# instalar herramientas
dnf -y install livecd-tools fedora-kickstarts

# generas un area de trabajo
mkdir workdir
cd $_

# copias lo necesario
cp -r /usr/share/spin-kickstarts/* .

# modificas …

Comparación de strings en Bash

Wed 21 July 2021

Hoy se me ocurrió que estaría chido mostrar como se hace una comparación de strings en Bash pero de forma práctica; dado que, en Bash, tendemos a ser muy estructurados y, a veces, poco eficientes.

Supongamos que quieres ver si una variable es alguna de 5 opociones. Quieres comparar el …

Howto: IPFS on Fedora 34

Wed 09 June 2021

I like IPFS a lot; for many reasons.

  • They're distributed.
  • Support newer technologies (quic, for example)
  • Enable a descentralized web.

Besides that, it's a pretty convenient app to use once you get the hang of it. You can either go full CLI on it or just user it from the …

Reboot

Thu 28 May 2020

Yeah, so my blog is back!

I've finally found a way to publish the content I want to publish; in a friendly way.

Pelican is the software I use to generate my website now. This is much safer and nicer for all of the involved; including my server.

I can …