Remove vino pool mounts
Change-Id: If02d95c925dc1e8b537e1609fea314b5b60ed36f
This commit is contained in:
parent
7602aa5324
commit
6ca0fcff0c
@ -51,8 +51,6 @@ spec:
|
|||||||
mountPath: /sys/fs/cgroup
|
mountPath: /sys/fs/cgroup
|
||||||
- name: logs
|
- name: logs
|
||||||
mountPath: /var/log/libvirt
|
mountPath: /var/log/libvirt
|
||||||
- name: var-lib-vino-pool
|
|
||||||
mountPath: /var/lib/libvirt/vino-pool
|
|
||||||
- name: etc-qemu
|
- name: etc-qemu
|
||||||
mountPath: /etc/libvirt/qemu
|
mountPath: /etc/libvirt/qemu
|
||||||
- name: etc-nwfilter
|
- name: etc-nwfilter
|
||||||
@ -151,8 +149,6 @@ spec:
|
|||||||
mountPath: /var/lib/libvirt
|
mountPath: /var/lib/libvirt
|
||||||
- name: var-run-libvirt
|
- name: var-run-libvirt
|
||||||
mountPath: /var/run/libvirt
|
mountPath: /var/run/libvirt
|
||||||
- name: var-lib-vino-pool
|
|
||||||
mountPath: /var/lib/libvirt/vino-pool
|
|
||||||
- name: run
|
- name: run
|
||||||
mountPath: /run
|
mountPath: /run
|
||||||
- name: dev
|
- name: dev
|
||||||
@ -201,10 +197,6 @@ spec:
|
|||||||
defaultMode: 0555
|
defaultMode: 0555
|
||||||
- name: pod-tmp
|
- name: pod-tmp
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
- name: var-lib-vino-pool
|
|
||||||
hostPath:
|
|
||||||
path: /var/lib/vino-pool
|
|
||||||
type: DirectoryOrCreate
|
|
||||||
- name: etc-qemu
|
- name: etc-qemu
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /etc/vino-qemu
|
path: /etc/vino-qemu
|
||||||
|
@ -4,12 +4,19 @@
|
|||||||
command: facts
|
command: facts
|
||||||
uri: "{{ libvirt_uri }}"
|
uri: "{{ libvirt_uri }}"
|
||||||
|
|
||||||
|
- name: create directory for vino pool
|
||||||
|
file:
|
||||||
|
state: directory
|
||||||
|
# TODO remove this hardcode, define vino storage variables in vino CR
|
||||||
|
path: "/var/lib/libvirt/vino-pool"
|
||||||
|
mode: 0755
|
||||||
|
|
||||||
- name: define storage the storage pool
|
- name: define storage the storage pool
|
||||||
virt_pool:
|
virt_pool:
|
||||||
state: present
|
state: present
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
uri: "{{ libvirt_uri }}"
|
uri: "{{ libvirt_uri }}"
|
||||||
xml: "{{item.libvirtTemplate}}"
|
xml: "{{ item.libvirtTemplate }}"
|
||||||
|
|
||||||
- name: activate the storage pool
|
- name: activate the storage pool
|
||||||
virt_pool:
|
virt_pool:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user