cloud-config.yml 974 B

1234567891011121314151617181920212223242526
  1. #cloud-config
  2. write_files:
  3. - path: /var/lib/rancher/conf/cloud-config.d/cloud-config1.yml
  4. permissions: "0444"
  5. owner: root
  6. content: |
  7. hostname: hostname1
  8. rancher:
  9. log: false
  10. - path: /var/lib/rancher/conf/cloud-config.d/cloud-config2.yml
  11. permissions: "0444"
  12. owner: root
  13. content: |
  14. hostname: hostname2
  15. rancher:
  16. debug: false
  17. - path: /var/lib/rancher/conf/cloud-config.d/cloud-config3.yml
  18. permissions: "0444"
  19. owner: root
  20. content: |
  21. hostname: hostname3
  22. rancher:
  23. log: true
  24. ssh_authorized_keys:
  25. - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC85w9stZyiLQp/DkVO6fqwiShYcj1ClKdtCqgHtf+PLpJkFReSFu8y21y+ev09gsSMRRrjF7yt0pUHV6zncQhVeqsZtgc5WbELY2DOYUGmRn/CCvPbXovoBrQjSorqlBmpuPwsStYLr92Xn+VVsMNSUIegHY22DphGbDKG85vrKB8HxUxGIDxFBds/uE8FhSy+xsoyT/jUZDK6pgq2HnGl6D81ViIlKecpOpWlW3B+fea99ADNyZNVvDzbHE5pcI3VRw8u59WmpWOUgT6qacNVACl8GqpBvQk8sw7O/X9DSZHCKafeD9G5k+GYbAUz92fKWrx/lOXfUXPS3+c8dRIF