Advertisement
lmihaiescu

set passwd with cloud-init

Sep 23rd, 2015
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. To setup the password for the default user "ubuntu", add these lines into the "user-data" window in Dashboard when booting up the instance:
  2.  
  3. #cloud-config
  4. password: test123
  5. chpasswd: { expire: False }
  6. ssh_pwauth: True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement