diff options
Diffstat (limited to 'resources/tools/testbed-setup/playbooks/04-disk-image.yaml')
-rw-r--r-- | resources/tools/testbed-setup/playbooks/04-disk-image.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/resources/tools/testbed-setup/playbooks/04-disk-image.yaml b/resources/tools/testbed-setup/playbooks/04-disk-image.yaml new file mode 100644 index 0000000000..884a8db65b --- /dev/null +++ b/resources/tools/testbed-setup/playbooks/04-disk-image.yaml @@ -0,0 +1,11 @@ +--- +- hosts: virl + remote_user: virl + tasks: + - name: Create server image directory + file: path=/home/virl/virl-server-image state=directory mode=0755 + - name: Copy server image + copy: src=files/virl-server-image/server.qcow2 dest=/home/virl/virl-server-image/server.qcow2 mode=644 +# TODO: Need to make this conditional, and find a good source for the image. + - name: Import server image into glance + shell: virl_uwm_client image-create --subtype server --version java-nested --release 14.04.03 --image-on-server /home/virl/virl-server-image/server.qcow2 |