Update cloud-init.sh

This commit is contained in:
Jeffrey Paul 2018-03-06 17:21:39 -05:00 committed by GitHub
parent c9b3ffae81
commit 0c305125ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,6 +49,10 @@ fi
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && source "$NVM_DIR/nvm.sh"
nvm install node
mkdir -p ~/.local/bashrc.d mkdir -p ~/.local/bashrc.d
mkdir -p ~/.local/profile.d mkdir -p ~/.local/profile.d