Trying to figure out how to use this deployment cloud-config on ubuntu 14.10
Like the title says, for some reason this cloud config doesn’t finish.. It creates the user with the right keys the
run_cmd doesnt finish nor does the group creation.. What am I missing?
Also how do you specify
passwd: the doc’s state a password hash but i’m really not sure how to generate such a thing for a linux system.
#cloud-config users: - name: alpha groups: sudo shell: /bin/zsh sudo: ['ALL=(ALL) NOPASSWD:ALL'] ssh-authorized-keys: - key1goeshere groups: - npm: [alpha] packages: - git - vim - zsh - htop run_cmd: - curl -sL https://deb.nodesource.com/setup | sudo bash - - apt-get install nodejs -y - npm set prefix /usr/local - chown -R /usr/lib/node/* /usr/local/bin /usr/local/lib - chmod -R 2775 /usr/local/lib /usr/local/bin /usr/lib/node/*
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×