I've removed the HWADDR
from ifcfg-eth0
and touched /.unconfigured
, but when I restart the virtual machine, HWADDR is not added back to the ifcfg-eth0. Is there something else we should be doing?
Asked
Active
Viewed 912 times
0
![](../../users/profiles/83465.webp)
Benjamin Peikes
- 1,094
- 3
- 16
- 26
-
Did you try this already? http://serverfault.com/q/626889/50647 – Aaron Copley Nov 24 '14 at 18:45
-
What is the problem you are trying to solve? – Michael Hampton Nov 24 '14 at 18:59
-
I tried the above link, but it doesn't recreate the HWADDR line. – Benjamin Peikes Nov 24 '14 at 19:11
-
@MichaelHampton I'm trying to prep a CentOS machine for virtualization. I don't want cloned machines to try using the same hardware address. – Benjamin Peikes Nov 24 '14 at 19:12
-
1I'm not sure if I experienced that or not.. Most of my VMs only have a single interface, so I have no issue leaving that line out of the config. – Aaron Copley Nov 24 '14 at 20:00
1 Answers
0
It turns out that HWADDR
does not get set automatically. It's only in ifcfg-XXX
so you can tie a particular network configuration to a particular card. If you only have one interface, HWADDR
is not needed in ifcfg-XXX
![](../../users/profiles/83465.webp)
Benjamin Peikes
- 1,094
- 3
- 16
- 26