Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

Don't assume default storage pool is at /var/lib/libvirt/images in crc_libvirt.sh and test1-worker-0-98nsr.xml #20

Open
bbrowning opened this issue Jan 18, 2019 · 1 comment

Comments

@bbrowning
Copy link

This script checks that the default storage pool exists and if it doesn't, it creates it at /var/lib/libvirt/images. However, later on in the script, it assumes that the default pool is set to this value. In my case, I already have a default pool but set to a location in my home directory which is a much larger partition than my root partition.

https://github.com/praveenkumar/osp4/blob/6f7d3ea9bf2ac194aceac4b3ae1be81d509c6615/libvirt/crc_libvirt.sh#L218 needs to have a dynamic path based on the location of the default storage pool.

I also have this problem in the tgz release I'm using in the file test1-worker-0-98nsr.xml <source file='/var/lib/libvirt/images/test1-worker-0-98nsr'/> but I don't see that file in source control to link to.

@gbraad
Copy link
Collaborator

gbraad commented Jan 18, 2019 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants