Package: talos-install
All in One installationDeploy requirementsCurrrent Talos-cli version is still not public, a dev_key is required for deployment.Ask adev_keyanddev_key.pubto save in your$HOME/.sshfolder.OS requirementsThe supported OS is Rocky Linux 8. Other Rhel like distributions should works, but aren't tested yet.Anuser with sudo permissionsis MANDATORY, don't use root directly. Due to some restrictions talos user (if already present) can't be used for installationsudo useradd installer
sudo visudo
# add installer as sudo user
sudo su - installer
'''

### Packages

- python = 3.9
- pip = 3.9

```bash
sudo dnf install epel-release -y

# Install Python 3.9 requirements
sudo dnf install python39  python39-pip sshpass -y

# Update pip
pip3.9 install --upgrade pip

# Install package
pip install talos-installInstallationThe talos_install package can be runned with these options:precheck: to prepare system with base requirementsdeploy: to install componentsbuild: to recreate docker images and pull on docker Hub (only for authorized developper)remove: to remove main settings and confurations.update: Update environment from a newer versionNote that remove doesn't remove installed packages (like docker)
and doesn't return to original settings (like selinux or firewalld).Configuration FilesinventoryFile<pip_environment>/share/talos_install/etc/inventoryis dinamically create at code level.
Changes to this file by user are tatally ignored during execution.ansible.cfgThe default ansible configuration should not be changed.
By default thedisplay_ok_hostsparameter is set to false.
If you need to display also the OK state please comment the row in<pip_environment>/share/talos_install/ansible/ansible.cfgtalos.yaml [ REQUIRED ]Copy configuration file<pip_environment>/share/talos_install/etc/example_talos.yamlto your ${HOME} directory.
Then change users configuration.
Is not allow to add or delete master and guest configurationglobal.yaml [ REQUIRED ]Copy configuration file<pip_environment>/share/talos_install/etc/example_global.yamlto your ${HOME} directory.
Then change customer configuration.Run Installation prechecktalos_installprecheckA list of change will be shown for user approval. Use-yto confirm automatically.Run Installation deploytalos_installdeployA list of change will be shown for user approval. Use-yto confirm automatically.Run updateGenerally speaking, the update process is done withtalos-config update; if something goes wrong during backward compatibilty process (like an update from a very old build), should be necessary to runtalos_install update(as install user) to fix environment. Be aware about unecessarytalos_install updateand always check configuration files first (talos.yaml and global.yaml in your HOME directory).talos_installupdateA list of change will be shown for user approval. Use-yto confirm automatically.Post installationThen need to validate configuration.
First access as talos user:sudosu-talosBy default setup is automatically done during deploy:<pip_environment>/share/talos_cli/etc/talos.yaml

talos_conf:use_default:trueIf necessary run setuptalos-configsetupLoad initial configurationtalos-configinitCheck Key Pairs with Talos-cli (needed for update only)talos-checkgit_keysCheck System statustalos-checkstatusCheck Version statustalos-checkversionKnown Issueansible-core requires the locale have UTF-8 encoding since 2.14.0Excerpt from the 2.14.0 release notes1ansible - At startup the filesystem encoding and locale are checked to verify they are UTF-8. If not, the process exits with an error reporting the errant encoding.Can you share the output of executing locale in a shell, please?
You probably just have to fix your system language to a UTF-8 variant.
Or just run ansible using:LANG=C.UTF-8talos_install<command>