summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/testcases/modules/runcmd.yaml
blob: 8309a88327f3b0afbbfc1b9ac630c15ed648f6ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#
# Run a simple command
#
cloud_config: |
  #cloud-config
  runcmd:
   - echo cloud-init run cmd test > /var/tmp/run_cmd
collect_scripts:
  run_cmd: |
    #!/bin/bash
    cat /var/tmp/run_cmd

# vi: ts=4 expandtab