{{ :tux.png?nolink&100 |}} ====== LIBVIRT: Konfiguration virtuelle Netzwerke und Speicher - Scratchpad ====== ---- ==== CR/LF aus Dateien entfernen und durch einfaches LF ersetzen ===== sed -i 's/\r/\n/g; s/\n$//' foo ==== default.xml ==== default 791a49c8-b6ad-41f5-ae52-9c4490ef15da ---- ==== routed.xml ==== routed c679f949-ef06-4e52-ad0b-de6909d63a24 ---- ==== Physikalische Platte / Partition ==== WIN11ENT-Part-2 ---- ==== Bridge LAN-Manager ==== nmcli device status nmcli connection add type bridge con-name bridge0 ifname bridge0 nmcli connection add type ethernet slave-type bridge con-name 'Bridge connection 1' ifname enp6s0 master bridge0 nmcli connection up bridge0 nmcli connection modify bridge0 connection.autoconnect-slaves 1 nmcli connection up bridge0 nmcli device status ip -brief addr show dev bridge0 vim nwbridge.xml nwbridge virsh net-define nwbridge.xml virsh net-start nwbridge virsh net-autostart nwbridge rm nwbridge.xml virsh net-list --all Falls die Bridge gelöscht werden muß: virsh net-destroy nwbridge virsh net-undefine nwbridge nmcli connection up 'Wired connection 1' nmcli connection down bridge0 nmcli connection del bridge0 nmcli connection del 'Bridge connection 1' ==== SPICE-Script um xrandr bei Auflösungsänderung auszulösen ==== Das Display ggfs. entsprechend anpassen. #!/bin/bash # Monitor SPICE display changes and resize xev -root -event randr | while read -r line; do xrandr --output Virtual-0 --auto done ==== Virtio-FS XML-Entry ====