Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| kvm [2021/02/13 07:08] – [Edit networks] admin | kvm [2021/02/14 09:36] (current) – [Edit networks] dani | ||
|---|---|---|---|
| Line 184: | Line 184: | ||
| <bridge name=' | <bridge name=' | ||
| <mac address=' | <mac address=' | ||
| - | <ip address=' | + | <ip address=' |
| < | < | ||
| - | <range start=' | + | <range start=' |
| - | <host mac=' | + | <host mac=' |
| - | <host mac=' | + | <host mac=' |
| - | <host mac=' | + | <host mac=' |
| - | <host mac=' | + | |
| - | <host mac=' | + | |
| - | <host mac=' | + | |
| - | <host mac=' | + | |
| - | <host mac=' | + | |
| - | <host mac=' | + | |
| - | <host mac=' | + | |
| - | <host mac=' | + | |
| - | <host mac=' | + | |
| - | <host mac=' | + | |
| - | <host mac=' | + | |
| - | <host mac=' | + | |
| </ | </ | ||
| </ip> | </ip> | ||
| Line 214: | Line 202: | ||
| </ | </ | ||
| * Delete a vm (host) in a network (here '' | * Delete a vm (host) in a network (here '' | ||
| - | virsh net-update default delete ip-dhcp-host "< | + | virsh net-update default delete ip-dhcp-host "< |
| </ | </ | ||
| * Add a network configuration (host) live:< | * Add a network configuration (host) live:< | ||
| - | net-update add ip-dhcp-host | + | virsh net-update |
| </ | </ | ||
| + | |||
| + | ===== Harddisks ===== | ||
| + | |||
| + | It’s also possible to add a disk to a running VM. The disk can be a disk image or a LVM volume. It’s possible to resize the disk, but, you have to reboot the client or relaod the kernel disk table ('' | ||
| + | |||
| + | * Add (persistent) a disk to a VM:<code bash> | ||
| + | virsh attach-disk ds --source / | ||
| + | </ | ||
| + | |||
| + | | **Note: | ||
| ==== Resize (LVM) disk ==== | ==== Resize (LVM) disk ==== | ||
| Line 228: | Line 226: | ||
| virsh blockresize < | virsh blockresize < | ||
| </ | </ | ||
| + | |||