Advertisement
Guest User

Untitled

a guest
Mar 17th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.37 KB | None | 0 0
  1. ubuntu@controller:~$ juju run --unit kubernetes-master/1 'hooks/install'
  2. Generating RSA private key, 2048 bit long modulus
  3. ..............................................+++
  4. ...................................................................................+++
  5. unable to write 'random state'
  6. e is 65537 (0x10001)
  7. ubuntu@controller:~$ juju run --unit kubernetes-master/1 'openssl genrsa -out /etc/kubernetes/serviceaccount.key 2048'
  8. Generating RSA private key, 2048 bit long modulus
  9. .......+++
  10. ..........+++
  11. unable to write 'random state'
  12. e is 65537 (0x10001)
  13. ubuntu@controller:~$ juju ssh kubernetes-master/1
  14. Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-59-generic x86_64)
  15.  
  16.  * Documentation:  https://help.ubuntu.com
  17.  * Management:     https://landscape.canonical.com
  18.  * Support:        https://ubuntu.com/advantage
  19.  
  20.   Get cloud support with Ubuntu Advantage Cloud Guest:
  21.     http://www.ubuntu.com/business/services/cloud
  22.  
  23. 7 packages can be updated.
  24. 7 updates are security updates.
  25.  
  26.  
  27. *** System restart required ***
  28. Last login: Fri Mar 17 14:32:49 2017 from 192.168.27.36
  29. ubuntu@k8s-control:~$ sudo -i
  30. sudo: unable to resolve host k8s-control
  31. root@k8s-control:~# openssl genrsa -out /etc/kubernetes/serviceaccount.key 2048
  32. Generating RSA private key, 2048 bit long modulus
  33. .....................................+++
  34. .....+++
  35. e is 65537 (0x10001)
  36. root@k8s-control:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement