Skip to content

Commit

Permalink
fix: Add storage pool
Browse files Browse the repository at this point in the history
Signed-off-by: Klaus Smolin <[email protected]>
  • Loading branch information
smolin-de committed Oct 23, 2023
1 parent 690334b commit b766185
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/create_bastion/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
--memory={{ env.bastion.resources.ram }} \
--vcpus={{ env.bastion.resources.vcpu }} \
--location {{ env.file_server.protocol }}://{{ env.file_server.user + ':' + env.file_server.pass + '@' if env.file_server.protocol == 'ftp' else '' }}{{ env.file_server.ip }}/{{ env.file_server.iso_mount_dir }} \
--disk size={{ env.bastion.resources.disk_size }} \
--disk pool={{ env.cluster.networking.metadata_name }}-vdisk,size={{ env.bastion.resources.disk_size }} \
{{ ('--disk size=' + (env.bastion.resources.disk2_size | string) + ',format=qcow2,serial=datadisk') if env.bastion.resources.disk2_size is defined }} \
--network network={{ env.bridge_name }} \
--graphics none \
Expand Down
2 changes: 1 addition & 1 deletion roles/create_bootstrap/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
--name {{ env.cluster.nodes.bootstrap.vm_name }} \
--osinfo detect=on,name={{ ('rhel8.6') if rhcos_os_variant is not defined else (rhcos_os_variant) }} \
--autostart \
--disk size={{ env.cluster.nodes.bootstrap.disk_size }} \
--disk pool={{ env.cluster.networking.metadata_name }}-vdisk,size={{ env.cluster.nodes.bootstrap.disk_size }} \
--ram {{ env.cluster.nodes.bootstrap.ram }} \
--cpu host \
--vcpus {{ env.cluster.nodes.bootstrap.vcpu }} \
Expand Down

0 comments on commit b766185

Please sign in to comment.