123456789101112131415161718192021222324252627282930313233 |
- #cloud-config
- write_files:
- - path: /usr/bin/test
- permissions: "0755"
- owner: root
- content: |
- #!/bin/bash
- touch /home/rancher/test1
- - path: /opt/rancher/bin/start.sh
- permissions: "0755"
- owner: root
- content: |
- touch /home/rancher/test3
- - path: /etc/rc.local
- permissions: "0755"
- owner: root
- content: |
- wait-for-docker
- docker run -d nginx
- - path: /var/lib/rancher/conf/cloud-config-script
- permissions: "0755"
- owner: root
- content: |
- #!/bin/bash
- touch /home/rancher/test4
- runcmd:
- - []
- - [ test ]
- - [ touch, /home/rancher/test2 ]
- - echo "" > /home/rancher/test5
- ssh_authorized_keys:
- - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC85w9stZyiLQp/DkVO6fqwiShYcj1ClKdtCqgHtf+PLpJkFReSFu8y21y+ev09gsSMRRrjF7yt0pUHV6zncQhVeqsZtgc5WbELY2DOYUGmRn/CCvPbXovoBrQjSorqlBmpuPwsStYLr92Xn+VVsMNSUIegHY22DphGbDKG85vrKB8HxUxGIDxFBds/uE8FhSy+xsoyT/jUZDK6pgq2HnGl6D81ViIlKecpOpWlW3B+fea99ADNyZNVvDzbHE5pcI3VRw8u59WmpWOUgT6qacNVACl8GqpBvQk8sw7O/X9DSZHCKafeD9G5k+GYbAUz92fKWrx/lOXfUXPS3+c8dRIF
|