Line 1,286:
Line 1,286:
gpgcheck=1
gpgcheck=1
enablegroups=1
enablegroups=1
−
* install SME10 and 11 keys
* install SME10 and 11 keys
Line 1,324:
Line 1,323:
dnf remove @headless-management @hardware-support
dnf remove @headless-management @hardware-support
−
then you could try, (you might have no network form there), unlink this to avoid root password locking
+
then you could try, (you might have no network from there), unlink this to avoid root password locking
unlink /etc/e-smith/events/post-install/S10init-passwords
unlink /etc/e-smith/events/post-install/S10init-passwords
Line 1,349:
Line 1,348:
'''<nowiki>##</nowiki> end of the part better on tty than on sshd'''
'''<nowiki>##</nowiki> end of the part better on tty than on sshd'''
+
'''## alternative method using ssh terminal'''
+
+
I did this from a ssh terminal without losing access except sshd got set to private:
+
/sbin/e-smith/db configuration setprop sshd status enabled PermitRootLogin yes access public
+
/sbin/e-smith/expand-template /etc/ssh/ssh_config
+
/sbin/e-smith/expand-template /etc/ssh/sshd_config
+
/usr/bin/systemctl restart sshd.service
+
/sbin/e-smith/signal-event remoteaccess-update
+
passwd admin {Set password to same as root}
+
/sbin/e-smith/db accounts setprop admin PasswordSet yes
+
/sbin/e-smith/db configuration set PasswordSet yes
+
/sbin/e-smith/db configuration setprop bootstrap-console Restore disabled
+
/usr/bin/systemctl restart rsyslog
+
+
systemctl stop NetworkManager && systemctl disable NetworkManager && systemctl stop NetworkManager-wait-online.service && systemctl disable NetworkManager-wait-online.service && systemctl start networking && dnf remove NetworkManager* --noautoremove && dnf remove @headless-management @hardware-support
+
At this point we are still logged in with a ssh terminal but now using Koozali networking with the NetworkManager configs)
+
unlink /etc/e-smith/events/post-install/S10init-passwords
+
/sbin/e-smith/signal-event post-install
+
+
Configure the server.
+
/sbin/e-smith/console
+
You might need to reset the ssh property via you console to access public - I think the reconfigure may have set it back to private.
+
+
Check before rebooting.
+
+
Reboot.
+
+
'''## end of alternative method using ssh terminal'''