Re: [CentOS] No network on cloned CentOS 7 installation

2019-05-08 Thread mark
Nicolas Kovacs wrote:
> Le 03/05/2019 à 20:10, Leon Fauster via CentOS a écrit :
>
>> Any MACs in /etc/udev/rules.d/70-persistent-net.rules ?
>
> After some more experimenting, I found out the showstopper was
> completely unrelated to cloning. Someone had the unfortunate idea of doing
> a hard reset on a local wireless access point, which resulted in two
> active DHCP servers for two different subnets. As soon as this problem was
> solved, all cloned PCs booted perfectly.
>
> The only thing I had to do was edit the hardcoded hostnames in
> /etc/hostname.

Right, and of course you weren't on the need-to-know list

Glad to hear it worked out.

mark

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


Re: [CentOS] No network on cloned CentOS 7 installation

2019-05-08 Thread Nicolas Kovacs
Le 03/05/2019 à 20:10, Leon Fauster via CentOS a écrit :
> Any MACs in /etc/udev/rules.d/70-persistent-net.rules ?

After some more experimenting, I found out the showstopper was
completely unrelated to cloning. Someone had the unfortunate idea of
doing a hard reset on a local wireless access point, which resulted in
two active DHCP servers for two different subnets. As soon as this
problem was solved, all cloned PCs booted perfectly.

The only thing I had to do was edit the hardcoded hostnames in
/etc/hostname.

Cheers,

Niki

-- 
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Site : https://www.microlinux.fr
Mail : i...@microlinux.fr
Tél. : 04 66 63 10 32
Mob. : 06 51 80 12 12
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] No network on cloned CentOS 7 installation

2019-05-03 Thread Leon Fauster via CentOS


> Am 03.05.2019 um 18:48 schrieb Nicolas Kovacs :
> 
> Hi,
> 
> I have a few identical Dell Optiplex 7010 machines that I want to use
> for our school's computer room. I tried to clone these installations
> (like I did before on CentOS 5 and various versions of Slackware), but
> this time I ran into a problem.
> 
> Here's what I did.
> 
> 1. Install one computer and zero unused hard disk sectors with dd.
> 
> 2. Send the image to a local FTP server using G4L (Ghost4Linux).
> 
> 3. Fetch the image on another computer.
> 
> 4. Boot the new computer in rescue mode and change the hardcoded
> /etc/hostname to a new value.
> 
> Let me add that I removed all hardcoded MAC addresses from
> /etc/sysconfig/ifcfg-em1, which has only very limited information in it.
> 
> What else could cause the network to choke on a cloned installation?

Any MACs in /etc/udev/rules.d/70-persistent-net.rules ?

--
LF

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


Re: [CentOS] No network on cloned CentOS 7 installation

2019-05-03 Thread Zube
On Fri May 03 06:48:30 PM, Nicolas Kovacs wrote:

> Hi,
> 
> I have a few identical Dell Optiplex 7010 machines that I want to use
> for our school's computer room. I tried to clone these installations
> (like I did before on CentOS 5 and various versions of Slackware), but
> this time I ran into a problem.
> 
> Here's what I did.
> 
> 1. Install one computer and zero unused hard disk sectors with dd.
> 
> 2. Send the image to a local FTP server using G4L (Ghost4Linux).
> 
> 3. Fetch the image on another computer.
> 
> 4. Boot the new computer in rescue mode and change the hardcoded
> /etc/hostname to a new value.
> 
> Let me add that I removed all hardcoded MAC addresses from
> /etc/sysconfig/ifcfg-em1, which has only very limited information in it.
> 
> What else could cause the network to choke on a cloned installation?

Whenever I clone one machine to another (under CentOS 6 anyway) the
cloned machine comes up with a different network port, so I have to
move /etc/sysconfig/network-scripts/ifcfg-eth0 to ifcfg-eth1 and
update all the relevant entries in that file (as well as removing
the MAC address).

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


Re: [CentOS] No network on cloned CentOS 7 installation

2019-05-03 Thread Jon Pruente
On Fri, May 3, 2019 at 11:48 AM Nicolas Kovacs  wrote:

> Here's what I did.
>
> 1. Install one computer and zero unused hard disk sectors with dd.
>
> 2. Send the image to a local FTP server using G4L (Ghost4Linux).
>
> 3. Fetch the image on another computer.
>
> 4. Boot the new computer in rescue mode and change the hardcoded
> /etc/hostname to a new value.
>
> Let me add that I removed all hardcoded MAC addresses from
> /etc/sysconfig/ifcfg-em1, which has only very limited information in it.
>
> What else could cause the network to choke on a cloned installation?
>

systemctl daemon-reload

That will cause SystemD to refresh it's internal state about the settings
in config files.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] No network on cloned CentOS 7 installation

2019-05-03 Thread Robert Heller
At Fri, 3 May 2019 18:48:30 +0200 CentOS mailing list  wrote:

> 
> Hi,
> 
> I have a few identical Dell Optiplex 7010 machines that I want to use
> for our school's computer room. I tried to clone these installations
> (like I did before on CentOS 5 and various versions of Slackware), but
> this time I ran into a problem.
> 
> Here's what I did.
> 
> 1. Install one computer and zero unused hard disk sectors with dd.
> 
> 2. Send the image to a local FTP server using G4L (Ghost4Linux).
> 
> 3. Fetch the image on another computer.
> 
> 4. Boot the new computer in rescue mode and change the hardcoded
> /etc/hostname to a new value.
> 
> Let me add that I removed all hardcoded MAC addresses from
> /etc/sysconfig/ifcfg-em1, which has only very limited information in it.

I think you need to re-code each machine's MAC address into ifcfg-em1.

> 
> What else could cause the network to choke on a cloned installation?
> 
> Cheers,
> 
> Niki

-- 
Robert Heller -- 978-544-6933
Deepwoods Software-- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
hel...@deepsoft.com   -- Webhosting Services

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