[CentOS] KVM clone

2020-02-07 Thread Nikos Gatsis - Qbit

Hello everybody.

I have a simple question.

If I clone an existing KVM image of win server with static IP, the clone 
will have the same IP?


It's probably stupid question, but I want to be sure.

I have a full updated centos 7 box.

Thank you in advance.

Nikos.


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] KVM clone

2020-02-07 Thread Johnny Hughes
On 2/7/20 5:22 AM, Nikos Gatsis - Qbit wrote:
> Hello everybody.
> 
> I have a simple question.
> 
> If I clone an existing KVM image of win server with static IP, the clone
> will have the same IP?
> 
> It's probably stupid question, but I want to be sure.
> 
> I have a full updated centos 7 box.
> 

It totally depends on how you have assigned the address in Windows.  If
you manually assigned the IP address via Windows, then yes, the new one
will have the same Windows License and the same IP address.

If you assigned a static IP via DHCP (so Windows is set to DHCP, and you
control the static IP address via your DHCP Server) .. you could modify
the MAC Address in the KVM image config file and it would boot with a
different address that you can control.  It would still have the same
Windows License though.



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] KVM clone

2020-02-07 Thread Leroy Tennison
Yes, have done it a few times.  If you need it to have a different IP 
address/name/license then bring up a new definition without a NIC, login via 
virt-manager.  For the IP address, search the registry for the current IP 
address and change the appropriate entries.  Use standard Windows utilities to 
change the description/name.  For the license, search for "Product" and select 
"View your Product ID", in that dialog there should be an option to change the 
product key.  Once done add the same NIC as the other definition had and 
restart.  This has worked all but once for me.  The one time it didn't, Windows 
discerned a network problem (IP address) and provided a way to fix it.

From: CentOS  on behalf of Nikos Gatsis - Qbit 

Sent: Friday, February 7, 2020 5:22 AM
To: centos@centos.org 
Subject: [EXTERNAL] [CentOS] KVM clone

Hello everybody.

I have a simple question.

If I clone an existing KVM image of win server with static IP, the clone
will have the same IP?

It's probably stupid question, but I want to be sure.

I have a full updated centos 7 box.

Thank you in advance.

Nikos.


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

Harriscomputer

Leroy Tennison
Network Information/Cyber Security Specialist
E: le...@datavoiceint.com


[cid:Data-Voice-International-LOGO_aa3d1c6e-5cfb-451f-ba2c-af8059e69609.PNG]


2220 Bush Dr
McKinney, Texas
75070
www.datavoiceint.com


This message has been sent on behalf of a company that is part of the Harris 
Operating Group of Constellation Software Inc.

If you prefer not to be contacted by Harris Operating Group please notify 
us.



This message is intended exclusively for the individual or entity to which it 
is addressed. This communication may contain information that is proprietary, 
privileged or confidential or otherwise legally exempt from disclosure. If you 
are not the named addressee, you are not authorized to read, print, retain, 
copy or disseminate this message or any part of it. If you have received this 
message in error, please notify the sender immediately by e-mail and delete all 
copies of the message.




___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] KVM clone

2020-02-07 Thread Leon Fauster via CentOS

Am 07.02.20 um 17:43 schrieb Leroy Tennison:

Yes, have done it a few times.  If you need it to have a different IP address/name/license then 
bring up a new definition without a NIC, login via virt-manager.  For the IP address, search the 
registry for the current IP address and change the appropriate entries.  Use standard Windows 
utilities to change the description/name.  For the license, search for "Product" and 
select "View your Product ID", in that dialog there should be an option to change the 
product key.  Once done add the same NIC as the other definition had and restart.  This has worked 
all but once for me.  The one time it didn't, Windows discerned a network problem (IP address) and 
provided a way to fix it.



I remember that for a cloned win system the SID should be also changed.

https://en.wikipedia.org/wiki/Security_Identifier

--
Leon

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos