Ubuntu VMWare Export to others (best solution?)

Michael Matthews erobererunc at gmail.com
Tue Feb 20 21:51:31 UTC 2007


First of all, does anybody know if a VM that is sent to another person will
get a whole new UUID?  My problems are mostly Ubuntu-related, but this
little bit of information would help.

My problem is, when I copy an Ubuntu VM, the 2 network interfaces that I'm
using turn from eth0 and eth1, to eth2 and eth3.  I know that I can edit
/etc/iftab (or write a script) to replace the hardware addresses in this
file with those of the actual virtual pieces of hardware, but since this VM
is going to be used by other people, I didn't want to add this step.  I was
wondering if there is a much deeper way to fix Ubuntu's handling of the new
interfaces.  What I'd really like is to have /etc/iftab repopulated, so does
anybody know how to do that?

The other solution that I've seen is to edit or delete /etc/udev/rules.d/25-
iftab.rules.  I've done this, and it SEEMS like the system is working just
fine, but are there any gotchas to doing this?  I don't really know how this
file is used by udev in Ubuntu.  It seems like this could cause inconsistent
naming of the interfaces across reboots (like eth0 will be hardware address
00:...:01 sometimes, and 00:...:02 another time, switching with eth1).  Does
anybody know for sure?  It certainly doesn't change the /etc/iftab file like
I'd like it to.

Anyway, what I'm trying to do is to make a single Ubuntu VM installation
that is configured to work for my purposes, and distribute it to others.
These people may actually be on the same network as me, and thus they
require a new MAC address.  That's why I'm asking about the VMWare UUID's,
because I know the MAC addresses are based off of these.  However, when I
download something like the Ubuntu-based "Browser Appliance" (
http://www.vmware.com/vmtn/appliances/directory/browserapp.html), neither am
I asked to create a new UUID, nor do I find a way to solve my MAC address
problem.

Thanks for any help!  I'm going to be in contact with VMWare as well.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070220/58c383fe/attachment.html>


More information about the ubuntu-users mailing list