modify path to take into account

non-chroot and add autolaunch
virt-manager for live system
This commit is contained in:
2021-08-19 21:09:38 +02:00
parent 4a10555a5f
commit e86690fd98
2 changed files with 12 additions and 4 deletions

View File

@@ -24,8 +24,8 @@ guestfs-tools # Complementary tools useful for interacting with vith guest syste
%post --nochroot --log=/mnt/sysimage/root/bhmd-post.log # Beginning of %post section. Those commands are executed outside the chroot environment
mkdir /var/lib/libvirt/iso # Create a directory to store iso images
virsh pool-create-as --name iso --type dir --target /var/lib/libvirt/iso # Make libvirt aware of this new directory by creating a so-called 'pool'
mkdir /mnt/sysimage/var/lib/libvirt/iso # Create a directory to store iso images
virsh pool-create-as --name iso --type dir --target /mnt/sysimage/var/lib/libvirt/iso # Make libvirt aware of this new directory by creating a so-called 'pool'
# Add a network bridge. Still need to declare it to virt-manager
nmcli con add ifname br0 type bridge con-name br0