mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-26 08:05:54 +03:00
[GH-ISSUE #473] Clone - new MAC #354
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @aafanasyev on GitHub (Nov 12, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/473
I using webvirtmgr for couple of days and found some missing future.
Mostly I create a base image and later I clone it to a test/production image. Like this:
US14.04LTSbase - Base server image
However, during cloning, if I use bridge mode, I need to create a new MAC address randomly. According this doc:
http://www.linux-kvm.org/page/Networking
I do it like this:
It will be much user friendly if I can create it immediately in interface just like in Virtual Box:

Thank you.
@aafanasyev commented on GitHub (Nov 12, 2014):
A bit of research leads me to:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Administration_Guide/sect-Virtualization-Tips_and_tricks-Generating_a_new_unique_MAC_address.html
And this code:
I hope it will be useful...
@daniviga commented on GitHub (Nov 12, 2014):
WebVirtMgr already generates a random MAC address when you clone an image using its interface.
@aafanasyev commented on GitHub (Nov 12, 2014):
Strange I am getting always the same mac in a bridge mode:
52:54:00:18:5f:c4
@daniviga commented on GitHub (Nov 12, 2014):
Yes, sorry you're right!
@aafanasyev commented on GitHub (Nov 12, 2014):
No problem :) webvirtmgr is very promising peace of software, but it miss a lot of useful futures of kvm,
Like dynamic HDD, IPtables management, Securing the web interface (I mentioned it ones) and etc...
@daniviga commented on GitHub (Nov 14, 2014):
See https://github.com/retspen/webvirtmgr/pull/474
@aafanasyev commented on GitHub (Nov 14, 2014):
Thanks It looks nice I just put a small comment... Maybe it will be useful.