uncomment not working command

This commit is contained in:
lukas 2021-08-20 10:27:22 +02:00
parent 0797cda68f
commit 476245caf8
2 changed files with 3 additions and 2 deletions

View File

@ -25,6 +25,6 @@ nano # Minimal GNOME shell or desktop environment plus the nano text editor
%post --nochroot --log=/mnt/sysimage/root/bdmd.log # Beginning of %post section. Those commands are executed outside the chroot environment
# set new default background (doesn't work. Would have to call a script on first boot or something)
gsettings set org.gnome.desktop.background picture-uri file:///usr/share/backgrounds/elementary/'Morskie Oko.jpg'
# gsettings set org.gnome.desktop.background picture-uri file://mnt/sysimage/usr/share/backgrounds/elementary/default
%end # End of the %post section

View File

@ -25,7 +25,8 @@ guestfs-tools # Complementary tools useful for interacting with vith guest syste
%post --nochroot --log=/mnt/sysimage/root/bhmd.log # Beginning of %post section. Those commands are executed outside the chroot environment
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'
# 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'
# doesn't work
# Add a network bridge. Still need to declare it to virt-manager
nmcli con add ifname br0 type bridge con-name br0