Skip to content

Instantly share code, notes, and snippets.

@svs14
Last active January 1, 2016 09:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save svs14/8128831 to your computer and use it in GitHub Desktop.
Save svs14/8128831 to your computer and use it in GitHub Desktop.
Fixes Ubuntu on NECTAR
#!/bin/sh
#
# Patches system settings on a NECTAR Ubuntu instance.
#
# Fix host resolution error
echo "127.0.1.1 $(hostname)" | sudo tee -a /etc/hosts
# Set default language to Australian (en_AU-UTF8) with POSIX messages
sudo locale-gen en_AU.UTF-8
sudo update-locale LANG=en_AU.UTF-8 LC_MESSAGES=POSIX
# Set timezone (interactive)
sudo dpkg-reconfigure tzdata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment