Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate Locale Generation in Arch Linux Vagrant Box #1

Open
kisp opened this issue May 4, 2024 · 0 comments
Open

Automate Locale Generation in Arch Linux Vagrant Box #1

kisp opened this issue May 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kisp
Copy link
Owner

kisp commented May 4, 2024

Description:
Currently, to ensure that the en_US.UTF-8 locale is available and configured correctly in the Arch Linux Vagrant box, users need to manually execute the command sudo locale-gen. Additionally, the locale command should display the appropriate locale settings without errors.

Steps to Reproduce:

  1. Provision an Arch Linux Vagrant box.
  2. Verify the locale settings by running locale. It should display the default settings but not the desired en_US.UTF-8 locale.
  3. Manually execute sudo locale-gen to generate the en_US.UTF-8 locale.
  4. Re-run locale to verify that the locale settings are now correctly configured.

Expected Behavior:

  • The en_US.UTF-8 locale should be automatically generated during the provisioning process.
  • Running locale should display the desired locale settings without errors, as follows:
[vagrant@arch vagrant]$ locale 
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Proposed Solution:

  • Modify the Vagrant provisioning script to include the automatic generation of the en_US.UTF-8 locale during setup. This can be achieved by installing the necessary packages and configuring the locale settings within the script.

Additional Notes:

  • Automating this process will streamline the setup of Arch Linux Vagrant boxes and ensure consistent behavior across deployments.
@kisp kisp added the bug Something isn't working label May 4, 2024
@kisp kisp self-assigned this May 4, 2024
@kisp kisp removed their assignment Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant