Last active
May 5, 2021 15:26
-
-
Save nik-garg/7b88a2833a1bae275a2be57d10b3f8a7 to your computer and use it in GitHub Desktop.
Cloud init for multipass
This file contains hidden or 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
users: | |
- name: nikhil | |
sudo: ALL=(ALL) NOPASSWD:ALL | |
ssh_authorized_keys: | |
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC5a0P6gC1qsszcrz65QeT2b+21FpaUM2K9EHJI68mpSIEVEy+uN7BoJ2kTBcC+0SkAV5y8gUbxlSHeba3j8ofHNYalEQ0QSHO3bsjDFevmQJqBJyf++N0KPvnRaYJYr64ztkMX5LYgvzJbCgHCVHnMy2xAbh440hXrWcKszL6JZ0Bw2nExCpisAxUE6ULcukMdbSp4GoniA6NFSqc0wXEPV3feWXM+M/L6He9jcP58Ixw5dZ9bO9CgW5jCJlv80oqQhYUZPJDiC5chtEObKx811G/C0Wqbbp3C6a3mZxkCF39nqpg7R1/vMb8SFC5rFGmiEmSV5ONU3aD9bwCTLKU7 [email protected] | |
home: /home/nikhil | |
shell: /bin/bash | |
gecos: Nikhil Garg | |
runcmd: | |
- sudo apt-get install -y avahi-daemon | |
- sudo -H -u nikhil bash -c "curl -o- https://gist.githubusercontent.com/nik-garg/5ebf7518d294999a327c5dc46220c4d8/raw/7a7fae654c8c0c00dbdce246505f05a49cbcff53/vim-setup.sh | bash" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment