diff --git a/share/runtime-postinstall.tmpl b/share/runtime-postinstall.tmpl index 8559ebfb..84ffa768 100644 --- a/share/runtime-postinstall.tmpl +++ b/share/runtime-postinstall.tmpl @@ -31,19 +31,20 @@ move etc/yum.repos.d etc/anaconda.repos.d ## misc_tree_modifications() %if int(product.version) > 15: ## Configure systemd to start anaconda - symlink /sbin/init init remove etc/systemd/system/default.target symlink /lib/systemd/system/anaconda.target etc/systemd/system/default.target append bin/login "#!/bin/bash" append bin/login "exec -l /bin/bash" %else: ## Set up loader as init + remove sbin/init copy usr/${libdir}/anaconda/init sbin/init symlink init sbin/halt symlink init sbin/poweroff symlink init sbin/reboot remove sbin/runlevel sbin/shutdown sbin/telinit %endif +symlink /sbin/init init install ${configdir}/network etc/sysconfig append etc/resolv.conf ""