mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-22 11:10:24 +00:00
In SLE15 /etc/resolv.conf is a symlink to /run/netconfig/resolv.conf. The package sysconfig-netconfig creates the symlink to /run/netconfig/resolv.conf on the host OS. It does not stay in the chroot environment. Therefore, genimage overwrites /etc/resolv.conf of the host. Let's not create a dummy file if /etc/resolv.conf is a symlink.