remove commented section

This commit is contained in:
2021-08-19 12:44:25 +02:00
parent cb464bae21
commit 72a9f5ceef
3 changed files with 2 additions and 18 deletions

View File

@@ -25,13 +25,10 @@ guestfs-tools # Complementary tools useful for interacting with vith guest syste
%post --nochroot # Beginning of %post section. Those commands are executed outside the chroot environment
mkdir /var/lib/libvirt/iso # Create a directory to store iso images
# chown liveuser:liveuser /var/lib/libvirt/iso # Make the user "liveuser" the owner of this directory
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 /var/lib/libvirt/rom # Create a directory to store rom files
# chown liveuser:liveuser /var/lib/libvirt/rom # Make the user "test" its owner
# chown liveuser:liveuser /var/lib/libvirt/images # Make the user "test" the owner of this directory
nmcli con add ifname br0 type bridge con-name br0 # Add a network bridge
# Add a network bridge. Still need to declare it to virt-manager
nmcli con add ifname br0 type bridge con-name br0
nmcli con add type bridge-slave ifname enp1s0 master br0
nmcli con up br0