Add documentation and files related to initial host setup
[csit.git] / resources / tools / testbed-setup / playbooks / 04-disk-image.yaml
1 ---
2 - hosts: virl
3   remote_user: virl
4   tasks:
5   - name: Create server image directory
6     file: path=/home/virl/virl-server-image state=directory mode=0755
7   - name: Copy server image
8     copy: src=files/virl-server-image/server.qcow2 dest=/home/virl/virl-server-image/server.qcow2 mode=644
9 # TODO: Need to make this conditional, and find a good source for the image.
10   - name: Import server image into glance
11     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

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.