3 if [[ $# -ne 0 ]]; then
8 if [[ ${UID} -ne 0 ]]; then
84 openjdk-11-jre-headless
101 printf "Defaults !tty_tickets\nDefaults timestamp_timeout=360\n" >/etc/sudoers.d/vapier
102 chmod 440 /etc/sudoers.d/vapier
104 # Add non-free sources for Steam.
105 sed -i "/^deb .*\/debian .* main$/s:$: contrib non-free:" /etc/apt/sources.list
106 dpkg --add-architecture i386
108 curl -s "https://dl-ssl.google.com/linux/linux_signing_key.pub" | apt-key add -
109 echo "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" >/etc/apt/sources.list.d/google-chrome.list
111 curl -s "https://packages.cloud.google.com/apt/doc/apt-key.gpg" | apt-key add -
112 echo "deb [arch=amd64] https://packages.cloud.google.com/apt cloud-sdk main" >/etc/apt/sources.list.d/google-cloud-sdk.list
114 curl -s "https://packages.microsoft.com/keys/microsoft.asc" | apt-key add -
115 echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" >/etc/apt/sources.list.d/microsoft-edge.list
118 apt-get -y dist-upgrade
120 apt-get -y install "${pkgs[@]}" \
121 google-chrome-stable google-cloud-sdk microsoft-edge-dev
123 ln -sf ~vapier/.profile.d/ROOT-bash_profile ~root/.bash_profile
124 for f in .gitconfig .inputrc .nanorc ; do
125 ln -sf ~vapier/${f} ~root/${f}
127 rm -f ~root/.profile ~root/.bashrc
128 echo . ~vapier/.profile.d/ROOT-bashrc >~root/.bashrc
131 echo "[crostini]" >/etc/ps1_append
133 rm -f /etc/ssh/sshd_not_to_be_run