On Thu, Dec 2, 2010 at 3:53 PM, David Leeming
<da...@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.langh...@gmail.com
 mar...@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
_______________________________________________
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel

Reply via email to