[Server-devel] Cloning and hardware addresses

David Leeming david at leeming-consulting.com
Fri Dec 3 18:30:40 EST 2010


OK, well the clones "seem" to working fully. Is there anything we should
test in particular? 

David Leeming
Solomon Islands Rural Link 

-----Original Message-----
From: Martin Langhoff [mailto:martin.langhoff at gmail.com] 
Sent: Saturday, 4 December 2010 3:51 a.m.
To: David Leeming
Cc: Jerry Vonau; XS Devel
Subject: Re: [Server-devel] Cloning and hardware addresses

On Thu, Dec 2, 2010 at 3:53 PM, David Leeming
<david at leeming-consulting.com> wrote:
> Sub note to this. I found I had to delete the file altogether. Then it
works. It regenerates the file with the new hardware addresses so if the HDD
is moved again, I guess this step needs repeating.

Yes. And if the NICs are replaced too.

It's not enough however (from a correctness PoV) when cloning a disk.
There's a number of files that get generated on first boot -- the ssh
key files come to mind (/etc/ssh/ssh_host_* ) . The postgres'
server.crt too.

Unfortunately there isn't an easy command on linux distros to return
the OS to a 'pristine' state (IIRC, there's one on Solaris).

cheers,


m
-- 
 martin.langhoff at gmail.com
 martin at laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff





More information about the Server-devel mailing list