~/talk

Cloning VMs: sheep and tricks

Talkat DevConf.CZ 2020 · 2020-01-24..01-26· [linux-and-operating-systems]
links:none on file
slides:none on file

Cloning VMs copies everything including identifiers, so multiple clones end up sending identical DHCP client IDs and colliding for the same IP, causing broken or flaky networking. Dolly was the only successful sheep from 277 attempts, illustrating why identical copies matter. Use libvirt/virt-clone (cloning tools already rewrite MACs) plus explicitly regenerate the systemd machine-id or run virt-sysprep to remove/change DHCP client IDs and hostnames, then reboot; following that procedure lets clones run side-by-side reliably.

AI-written summary · about

  1. 0:00Intro
  2. 0:35Dolly the Sheep
  3. 2:08Cloning Sheep vs Cloning VMs (II)
  4. 2:49One Environment, Many Clones
  5. 3:55Cloning VMS: MAC address
  6. 4:17Cloning VMs: IP address (static)
  7. 4:45Cloning VMs: IP address (dynamic)
  8. 6:31Cloning VMs: hostname
  9. 7:21Linux Host Identity: the machine-id
  10. 9:11Story of a VM Failure: The Plot
  11. 10:12Story of a VM Failure: The Circumstances
  12. 12:44Story of a VM Failure: The Outcome
  13. 13:401 Clone the VM
  14. 14:212 Do It Like a Sheep!
  15. 16:04CLONING VMS SUMMARY
  16. 16:54QUESTIONS?
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.