This commit is contained in:
computer 2021-11-10 12:23:30 -05:00
parent 523f86e2e9
commit 8e6412298f
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#!/bin/bash
## digitalocean-user-data sHEG3NTC6og8pCJDTF6EPYb8jLmbskx5Ns
## digitalocean-user-data@nixc.us
## bash <(curl -s https://digitalocean-user-data:sHEG3NTC6og8pCJDTF6EPYb8jLmbskx5Ns@git.nixc.us/Colin_/do-userdata/raw/branch/master/hasql.nixc.us/user-data.sh)
export HOSTNAME=$(curl -s http://169.254.169.254/metadata/v1/hostname)
echo $HOSTNAME > /etc/hostname