Last active
January 20, 2020 18:10
-
-
Save louchenyao/55987c55d13be6f2e97db19dbdab93a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
users: | |
- name: louchenyao | |
groups: sudo | |
shell: /bin/bash | |
sudo: ['ALL=(ALL) NOPASSWD:ALL'] | |
ssh-authorized-keys: | |
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCudAF5jQCs+HTk9ST93yyhXNUFtxldah+D9gU7xSKXW4c6xC1ZuVHZuBvrorArDUbXwByrB/bnjC8fQy4VH0JaS3qfjofroXnLWwHqQS4RC6N1H20EYm5+fsMu0GzzbgoCJOO99QT85UghN661iPzLd7gCdc96O/AiYmDliBlsYCMVblcHkD2D9VTzeKYKmCDjl4d1kjMBdK4H8xbzpbvrhRO5Xtexm+D5foH/elB7aB3CtoCSaHl+GHFOQWidI9MIwVNlYj0i+97fYbhk0V0dir3DuIaHHy5h2PCm0ruoeESKp2e0UirEH8NwkHS/dbiC4UlrAvSHFetSJdfEabMl louchenyao | |
runcmd: | |
# change the user shell | |
- apt update | |
- apt install -y fish | |
- chsh -s $(which fish) louchenyao | |
# install bazel | |
- apt install -y curl | |
- curl https://bazel.build/bazel-release.pub.gpg | apt-key add - | |
- echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list | |
- apt update && apt install -y bazel | |
# install tools | |
- apt install -y linux-tools-common gcc g++ clang htop tmux python3-pip | |
# done! | |
- echo "enjoy!" > /tmp/cloud_init_completed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment