NEW_USER=eai
hostnamectl set-hostname hogehoge
localectl set-locale LANG=ja_JP.UTF-8 LANGUAGE="ja_JP:ja"
timedatectl set-timezone Asia/Tokyo
adduser ${NEW_USER}
echo "${NEW_USER} ALL=NOPASSWD: ALL" >> /etc/sudoers
mkdir /home/${NEW_USER}/.ssh
curl https://github.com/eai04191.keys > /home/${NEW_USER}/.ssh/authorized_keys
chown -R ${NEW_USER}: /home/${NEW_USER}/.ssh
chmod 700 /home/${NEW_USER}/.ssh
chmod 600 /home/${NEW_USER}/.ssh/authorized_keys