User Tools

Site Tools


cloud-init:standard-cloudinit-yaml

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

cloud-init:standard-cloudinit-yaml [2019/07/18 09:43]
127.0.0.1 external edit
cloud-init:standard-cloudinit-yaml [2019/07/18 09:53] (current)
dodger
Line 15: Line 15:
 </​WRAP>​ </​WRAP>​
  
 +
 +====== Information ======
 +
 +  * This is a basic cloud-init yaml, it makes a **STATIC** network configuration,​ which is the hardest setup possible, cloud-init will **always** try to use DHCP.
 +  * It will add a user named ''​bofher''​ with a cyphered password, you must change it, of course.
  
  
Line 41: Line 46:
   - echo PREFIX=THENETMASK >> /​etc/​sysconfig/​network-scripts/​ifcfg-eth0   - echo PREFIX=THENETMASK >> /​etc/​sysconfig/​network-scripts/​ifcfg-eth0
   - echo GATEWAY=THEGATEWAY >> /​etc/​sysconfig/​network-scripts/​ifcfg-eth0   - echo GATEWAY=THEGATEWAY >> /​etc/​sysconfig/​network-scripts/​ifcfg-eth0
-  - echo DNS1=10.40.3.101 ​>> /​etc/​sysconfig/​network-scripts/​ifcfg-eth0 +  - echo DNS1=THEDNS01 ​>> /​etc/​sysconfig/​network-scripts/​ifcfg-eth0 
-  - echo DNS2=10.40.3.102 ​>> /​etc/​sysconfig/​network-scripts/​ifcfg-eth0+  - echo DNS2=THEDNS01 ​>> /​etc/​sysconfig/​network-scripts/​ifcfg-eth0
   - ifdown eth0   - ifdown eth0
   - ifup eth0   - ifup eth0
Line 50: Line 55:
     sudo: ['​ALL=(ALL) NOPASSWD:​ALL'​]     sudo: ['​ALL=(ALL) NOPASSWD:​ALL'​]
     ssh-authorized-keys:​     ssh-authorized-keys:​
-      - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDMyKlWiO3YkoIc2ZfuLi+nEojn3mLcGOETB54c1Ih3jC/​v8uWoC+rGYDDXU3dEbI1mVVWEpbrxeHPPBrQnv6ZySuqpqScpAPfb4/​0OciR2hRfBCoLCzuKBMC7QlXYfzlBOPn5BzR/​1XKLrshOHDVPxV/​AmqVqpz86xVWYJYK7aMgHTEabWINCANXTDvWgm2UGTuhSh/​1/​wGcI+DL141cUeDB9LUSikWRuoepmSYC/​ZascRAV2g7g3oqGCTM8xgSmP11YWMuzkGNGN1HiFdh3fP0xQVOeEehswlWOwZ3/​ztpl2o0Kx2jomHuadCEJ2HhhDblipE2VOV9+1ruTkvuuRX dodger@ciberterminal.net@jhterminal +      - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDMyKlWiO3YkoIc2ZfuLi+nEojn3mLcGOETB54c1Ih3jC/​v8uWoC+rGYDDXU3dEbI1mVVWEpbrxeHPPBrQnv6ZySuqpqScpAPfb4/​0OciR2hRfBCoLCzuKBMC7QlXYfzlBOPn5BzR/​1XKLrshOHDVPxV/​AmqVqpz86xVWYJYK7aMgHTEabWINCANXTDvWgm2UGTuhSh/​1/​wGcI+DL141cUeDB9LUSikWRuoepmSYC/​ZascRAV2g7g3oqGCTM8xgSmP11YWMuzkGNGN1HiFdh3fP0xQVOeEehswlWOwZ3/​ztpl2o0Kx2jomHuadCEJ2HhhDblipE2VOV9+1ruTkvuuRX dodger@ciberterminal.net
-      - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDA/​mtymKfb9u5KGOgIysjDrX4ztUXKtHCaP+hnBEi/​T1t8gOHCO0qA7SpyOwlkGZA2zWo+Wyihs5nZ5803AtvZd8Pd/​6+0BdSSrgn/​mh4vuAV1IlkhTw0HNm0PBdQJTlLGR3rMZEss4Mf4kjyfnkhdUiyei6AwtczL6uzW8KrI3pt2U6IJ8C8wZP74hXPHoc12hA0v4D29t5WLvLvNdZ3sLvpEdGZZHXLrVzkT3bC8Lve0gyMMeyryjDYxF19zW1XkF0YMKHb/​dr9mX8OCub/​VyIJmK1SZj7h5/​cJxDAa+vMCH9mPxWxxfLo8htEQBFYtNZ+Ttgp8lo2r1vB+JISU3 warlock86@gmail.com@fvlin-sis-arod +
-      - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCzA69Atu99/​l2RTsIouFbbTY6DRhSYpYF09NVee/​UjizMS/​TXjvt5qMPQSNE2WhG5vSPxCkgdcliwubLSEbLJvvff9jw/​B7aBm6VF6KiVPvR4FWvm4yKXnzjhMiDZ4zqa2ZljT5ttr5xjIUVMRJFbI1aVwxXylV+9t6aCLfcvSIucO19Zj9aCoPGm3VYU4ek7a4NiZb4k+IQbYkTamURsJXvDD0/​oRyOPZIas46eI7CQzeFsBd/​d0C42riaEM+ODCT6q6sOwgglom1TZYHsUf1mDXsF/​zDMszHnHvEJzVzbfezav8my9KaLCGcwp9ny8B0NDTnZPe5zG0iefu1JnBL warlock86@gmail.com@VVW10-SYS-003 +
-      - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDddxCrxuPqIKkPbNy1tZutIyfAVjGnUHiMtgMJ/​ctLcJqiBcAm/​MKQUid+80dMHGhJ3FtHWIvNt3Pn5fgOJiLFOh0UcvzAaXXyEfyO6JqBYmtlCTbCf19NKLgRyFzVw0uVFFqSsAvvmN18Lqb+wCbyN5y//​8kc3kWkwLrR3XrgwwDY1KF9QEHnZTjfszOjAfpeoIwj/​0wMDoHl206r9nWoqjDPFwrR18Bu2o+UW7IZS63lMizJJaPxQWUePI+FyWAIMVi1mqi4RapZ+W6UWrmSQo2uhCOrDLyj/​ZgbSdZAHQWiZgF1G2xRth+ZssKbLib9Y4a6UnDUTYeo4xGmozvj root@avmlm-salt-001.ciberterminal.net +
-      - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDHtRSrqGyYgE972uvbGJOhPRWDI/​Qj/​nMaSEZIelcaOWzP+s87fqsozui/​QFb7bFynEOITdyxTjXabe3kCADo9hQGBlIgbVcF8PPWEkruAvhoiVrdhwQC3ISPyf/​big3DWaiRMJ7AlA9w2o7mouj5rXK122m9fnUTrO0qEBkf2hhXphnEVTDHa0UyVzyME9NwSXa98z6miFRF8cMfZthO6V76A7NsYLHF6sgAWEyvtueqUbyGras48BJ0IrVusvpRBJ+DnsRL8g9bA/​dqdI4Yasken5lgHV1VCctN6A8Mqk8/​A5NAbiVO/​O0n0h51lT9BDGKxzF3xR98pDILlkEPXD ldiaz@padawanDB +
-      - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6Uv7Ij/​cFHR0jowhGb1rFUPoAQ3VtzS9HHy/​em8Sk2xzvJUuv3QlxzD/​EQN3bBqrEyusOQQMnfKcr8Q6r/​eaisyGDVA5Q91UQc4qOiYeuPImaFTIhX3LgNJLFoiARYpB6U3GACNRYR+c4bEr7Qpnh3OJGTvRCTo5zS9epqYZUP8gAKcseNUgLT4KBk7qAF1mFFNIMxmz6EYte2WFGBTkyx0FMaU8mTakqp4rTqhr5DynfMVu+3NB/​0iRj7X1UmgYt+J9Vi4XwGmbN7BK8ZdeUBrQLGnksWsup4DeD1ti2dE4fyEMQf92PUQlZjQwlT/​9eX2qiZfBtvfj3xt5IzE+j dodger@workterminal +
-      - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjO2vOtHwz8+KzQgcfnzkxjNv3wFaIZBNR2HDrWXRXkoNinm5pC/​Ny4GcLfGYT3704rhnDFrpMOLZkQtbgL1WMFD+YRtj4y3dBQTYDILVLV6ixc56uqYHsy86U/​0ibWx3m4NzTbvypNLvGAIz5Acxb4RzHU245LCxCfuoCM6+2c9dn4bI1I50UU/​PvwY1I8G+/​lqK8Fgu5uKFEkUJbSGJ8a/​eSA6PE8FyjJ1RDdDeqvktEU2RbXltViH8mLK/​DRcuNbggykcDGwPeIVA1+8uh15TGpXTmfjEy2Qca9LByuhpA8r0+SdAptoI1nOllPzEJz2+MaDrIienvcsUv73jOP ldiaz@VVLIN-DEB-TPL +
-      - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD4nhGQF4OiGHre1eOGx3QHd2zW1wt22qHwr33kcwuxVLTzWhMG8nA9fWLPnAA2tblhuLo9oeFBMnazSsh50sHqH+iZS/​gqxprhM22U66qfZUoSstwC4a9HCmfW3+QQo/​yD331mKs0wPAk8tKZ/​xlLRhSrj5W76zPYLp4lVPywPmlbM+kRq381toHctNOXPfknKroJJ7wO9mcJ06T1Zg1LZWCnwelbyBhzo/​D0Ql+9X+5rFs4swzc1BQz/​bPqb0IIq92YM9c2R1XEBv+E+pDs0CRd9moC3H3iijTzn662YnRo4LREPBN9qXLObu00s6XXbHY4LfknzTkd2qyKj1Ckct ldiaz@VVWIN-INFR-005 +
-      - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFEH5xOGf3V52/​AYxpqPUYQgI75vK7iMkR1SbxiqnQYPqERqrCrqIUcEtAgXwCZjtM/​BexvYEhKfKR8ugPv0Gpy/​QkJR+AdEWJaXMM1j4Pc6xUeks2e5jdu5o3s9J4mvKDC8Ug+2CGuT3xsc7LyW+R+XstfBZcXaXTGx8CMgrzwjVO3syNI5gI0ZvAEThzJaXUmy+3TTCoSgSz19ngJh2t9I+lm+1GJpxUQvc/​H1kMuSJ4OY1UkLZ2tDMNqFKBtEaUz+lWYgHXfNG1BGW0fTg+0ukbh4JGGRWzjVcx8yax6bbZkbRKec7zAtdZkAdEuG21GUfNdIdjVArnPBP75ko1 fmestre@fvlin-sis-fmes +
-      - ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAkJKNJOi9hHmRHCSbtz4+bnO11EuEVN29VK7W3UH2GeOFCq5rR8nV1qs4o6wEuYkYzvqhUSGPZFA3XwxxQWpPvFrYnrqucIbiXFbIRbk/​8FKTYjRZKxRI8PD/​+OpCCJ1EbsD4IzRxtqOYflsPoeROBofZdOMLeYrWaF1j6J5hfgFDL4gVhcomYxqi+bB+xxl6m7Ei1i7VaQIMLEtWIub0/​djkE1wT5O0ctMEWUShI+P3WJ3SacqbQ98Zntfnoz2jOmcGdiS459jGGH9PTeQgpNp9bwPQ22x60e6du008k9/​lLKZncqivsioGgTyMK4dgNz9OmRvCAfl3vw13Fy5gBUQ== rsa-key-20190129+
     lock-passwd:​ false     lock-passwd:​ false
     passwd: $6$RvKfWhor$ve1U0Ni.cwS4wy/​kvcp9jcp2sETsp/​BSmQZJdWNHFSTAUQ89uFMBNzMIWMCl7C5/​Q8x4O/​iMCzw7tujrrvS4E0     passwd: $6$RvKfWhor$ve1U0Ni.cwS4wy/​kvcp9jcp2sETsp/​BSmQZJdWNHFSTAUQ89uFMBNzMIWMCl7C5/​Q8x4O/​iMCzw7tujrrvS4E0
Line 132: Line 128:
   * ''​THENETMASK''​   * ''​THENETMASK''​
   * ''​THEGATEWAY''​   * ''​THEGATEWAY''​
 +  * ''​THEDNS01''​
 +  * ''​THEDNS02''​
  
  
cloud-init/standard-cloudinit-yaml.txt · Last modified: 2019/07/18 09:53 by dodger