ubuntu_japanese_setup
ロケールの変更は非対話型で行うようにした
対話型のをそのまま使うと期待通りに動かない
code:ubuntu_japanese_setup.sh
set -e
sudo apt update -y
sudo apt upgrade -y
sudo apt install -y language-pack-ja
sudo update-locale LANG=ja_JP.UTF8
echo "Asia/Tokyo" | sudo tee /etc/timezone
sudo dpkg-reconfigure -f noninteractive tzdata
sudo apt install -y manpages-ja manpages-ja-dev
sudo apt install -y fonts-noto-cjk fonts-noto-cjk-extra
sudo apt install -y fonts-noto-color-emoji
echo "INFO Done! Please reboot the system for the changes to take effect."