Fix libvirt network create error with vagrant

when vagrant up `create': Call to virD omainCreateWithFlags failed: Network not found: no network with matching name 'vagrant-libvirt' (Libvirt::Error) fix it 1cat<<EOF> /var/tmp/vagrant-libvirt.xml 2<!-- 3WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE 4OVERWRITTEN AND LOST. Changes to this xml configuration should be made using: 5 virsh net-edit default 6or other application using the libvirt API. 7--> 8 9<network> 10 <name>vagrant-libvirt</name> 11 <uuid>17f365b0-4da6-4f19-91b6-c4dde30d6ac0</uuid> 12 <forward mode='nat'/> 13 <bridge name='virbr1' stp='on' delay='0'/> 14 <mac address='52:54:00:0f:4f:10'/> 15 <domain name='kvm' localOnly='yes'/> 16 <ip address='192.168.122.1' netmask='255.255.255.0'> 17 <dhcp> 18 <range start='192.168.122.2' end='192.168.122.254'/> 19 </dhcp> 20 </ip> 21</network> 22EOF 23virsh net-define /var/tmp/vagrant-libvirt.xml 24virsh net-start vagrant-libvirt 25virsh net-autostart vagrant-libvirt 26virsh net-list 27brctl show create libvirt network

2022-09-11 · G2G

Fix error symbol grub_calloc not found

… by restoring GRUB for crypted disks After system update and reboot, GRUB failed with this error symbol 'grub_calloc' not found. fix it with these commands 1fsck /dev/nvme0n1p* 2efibootmgr -c --disk /dev/nvme0n1 3efibootmgr -v /dev/nvme0n1 check in your BIOS if EFI boot is always configured (link to /boot/efi/EFI/arch/grubx64.efi) in bonus, if you want to mount your crypted system 1cryptsetup open /dev/nvme0n1p3 data 2pvs 3vgs 4vgchange -ay 5lsblk -fs 6mount /dev/mapper/arch-root /mnt/ 7mount /dev/mapper/arch-home /mnt/home/ 8mount /dev/nvme0n1p2 /mnt/boot/ 9mount /dev/nvme0n1p1 /mnt/boot/efi/ # for UEFI systems 10arch-chroot /mnt GRUB by Archlinux Wiki

2020-09-08 · G2G

Fix easily security alerts for Minimal Mistakes theme

with git command prerequisites 1git remote add upstream git@github.com:mmistakes/minimal-mistakes.git # in your github repository 2git fetch --all update files from mmistakes v.4.19.1 according to Github network alerts 1git checkout 4.19.1 -- minimal-mistakes-jekyll.gemspec package.json package-lock.json 2git commit -m "[update] from minimal mistakes 4.19.1 release"

2020-04-05 · G2G