[opensuse-autoinstall] Disaster Recovery with autoyast and different hardware - network
Hi, I'd like to use the disaster recovery scenario for installing a pool of identical computers. But I don't have them now, so I use a VM to prepare the image/backup. The same would be true in a real disaster recovery, where one has to use a new mainboard. I'm mostly concerned about Network. The new network device names don't change and one gets rid about the MAC address problem. But how do I explain to autoyast to just use "the network used before for PXE" in conjunction with software from image/backup. I know there is a setting to preserve network config, but I guess this is overwritten by the image. So I would have to preserve /etc/sysconfig/network/en* in the backup-restore-script.sh? -- Mit freundlichen Gruessen, Andreas Vetter -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
Hello, On Mar 13 09:16 vetter@physik.uni-wuerzburg.de wrote (excerpt):
I know there is a setting to preserve network config, but I guess this is overwritten by the image. So I would have to preserve /etc/sysconfig/network/en* in the backup-restore-script.sh?
As far as I know (but I am not a sufficient AutoYaST expert to
provide you an authoritative answer) it is basically as follows:
The <software> section is done before all configuration sections.
Reason - from my point of view:
First the files must have been installed, then one can configure
the system (i.e. change some installed configuration files).
This means when you restore your backup in the <software> section,
and have a <networking> section in autoinst.xml, then first your
files from the backup would be restored, and then AutoYaST could
call the YaST network module to set up the network according to
what you specified in the <networking> section which overwrites
certain network configuration files from your restored backup.
Currently I don't know if and how this works together with
<minimal-configuration config:type="boolean">true</minimal-configuration>
and
participants (2)
-
Johannes Meixner
-
vetter@physik.uni-wuerzburg.de