From 0c305125ec68eee70adf6e6ccd88fb5ac94735eb Mon Sep 17 00:00:00 2001 From: Jeffrey Paul Date: Tue, 6 Mar 2018 17:21:39 -0500 Subject: [PATCH] Update cloud-init.sh --- cloud-init.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cloud-init.sh b/cloud-init.sh index 9f91a19..21111b9 100644 --- a/cloud-init.sh +++ b/cloud-init.sh @@ -49,6 +49,10 @@ fi 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/profile.d