cloud-config.yml 875 B

12345678910111213141516171819202122232425262728293031
  1. #cloud-config
  2. write_files:
  3. - path: "/test"
  4. permissions: "0644"
  5. owner: "root"
  6. content: |
  7. console content
  8. - path: "/test2"
  9. container: console
  10. permissions: "0644"
  11. owner: "root"
  12. content: |
  13. console content
  14. - path: "/test"
  15. container: ntp
  16. permissions: "0644"
  17. owner: "root"
  18. content: |
  19. ntp content
  20. - path: "/test"
  21. container: syslog
  22. permissions: "0644"
  23. owner: "root"
  24. content: |
  25. syslog content
  26. rancher:
  27. restart_services: [syslog]
  28. ssh_authorized_keys:
  29. - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC85w9stZyiLQp/DkVO6fqwiShYcj1ClKdtCqgHtf+PLpJkFReSFu8y21y+ev09gsSMRRrjF7yt0pUHV6zncQhVeqsZtgc5WbELY2DOYUGmRn/CCvPbXovoBrQjSorqlBmpuPwsStYLr92Xn+VVsMNSUIegHY22DphGbDKG85vrKB8HxUxGIDxFBds/uE8FhSy+xsoyT/jUZDK6pgq2HnGl6D81ViIlKecpOpWlW3B+fea99ADNyZNVvDzbHE5pcI3VRw8u59WmpWOUgT6qacNVACl8GqpBvQk8sw7O/X9DSZHCKafeD9G5k+GYbAUz92fKWrx/lOXfUXPS3+c8dRIF