~terceiro/+junk/lca13-traning-vm

« back to all changes in this revision

Viewing changes to provision

  • Committer: Antonio Terceiro
  • Date: 2013-03-04 15:49:58 UTC
  • Revision ID: antonio.terceiro@linaro.org-20130304154958-4dkjw7req6t0a40r
include qemu and l-t-s files

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
# include QEMU disk image
47
47
test -f /home/lava/beagle-nano.img.gz || cp /vagrant/beagle-nano.img.gz /home/lava/
48
48
 
49
 
# include basic QEMU job file
50
 
cat > /home/lava/qemu.json <<JSON
51
 
{
52
 
  "timeout": 18000,
53
 
  "job_name": "qemu-test",
54
 
  "device_type": "qemu",
55
 
  "logging_level": "DEBUG",
56
 
  "actions": [
57
 
    {
58
 
      "command": "deploy_linaro_image",
59
 
      "parameters": {
60
 
        "image": "file:///home/lava/beagle-nano.img.gz"
61
 
        }
62
 
    },
63
 
    {
64
 
      "command": "boot_linaro_image"
65
 
    }
66
 
  ]
67
 
}
68
 
JSON
 
49
# include basic QEMU job file + lava-test-shell testdef
 
50
cp /vagrant/qemu.json /home/lava/
 
51
cp /vagrant/lava-test-shell-simple.yaml /home/lava/
69
52
 
70
53
# fix permisssions
71
54
chown -R lava:lava /home/lava/