public inbox for kdevops@lists.linux.dev
 help / color / mirror / Atom feed
* guestfs storage paths are confusing
@ 2025-04-08 19:17 Chuck Lever
  2025-04-08 19:29 ` Luis Chamberlain
  0 siblings, 1 reply; 12+ messages in thread
From: Chuck Lever @ 2025-04-08 19:17 UTC (permalink / raw)
  To: kdevops

Hi -

When I run "make defconfig-xxx" and then "make", .extra_vars_auto.yaml
contains:

> kdevops_enable_guestfs: True
> storage_pool_path: "/var/lib/libvirt/images"
> guestfs_storage_dir: "{{ kdevops_storage_pool_path }}/kdevops/guestfs"
> guestfs_base_image_dir: "{{ guestfs_storage_dir }}/base_images"
> libvirt_storage_pool_path: "/var/lib/libvirt/images"
> kdevops_storage_pool_path: "{{ libvirt_storage_pool_path }}/kdevops"
> libvirt_extra_storage_drive_virtio: True


After templating, that makes guestfs_storage_dir:

   /var/lib/libvirt/images/kdevops/kdevops/guestfs

Which seems incorrect to me. Perhaps guestfs_storage_dir
should be defined as simply:

  guestfs_storage_dir: "{{ kdevops_storage_pool_path }}/guestfs" ??

Also, I'd still like to replace the "kdevops" string literal in the
kdevops_storage_pool_path variable with:

  {{ kdevops_storage_pool_user }}

So that multiple users on one system that run kdevops can't clobber each
other's virtual machines or block devices.

-- 
Chuck Lever


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-04-25 21:31 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-08 19:17 guestfs storage paths are confusing Chuck Lever
2025-04-08 19:29 ` Luis Chamberlain
2025-04-09 14:55   ` Chuck Lever
2025-04-09 18:10     ` Luis Chamberlain
2025-04-09 18:36       ` Chuck Lever
2025-04-09 23:46         ` Luis Chamberlain
2025-04-10  4:58       ` Andreas Hindborg
2025-04-23  6:04         ` Luis Chamberlain
2025-04-23  8:22           ` Andreas Hindborg
2025-04-23 20:53             ` Luis Chamberlain
2025-04-25  7:30               ` Andreas Hindborg
2025-04-25 21:31                 ` Luis Chamberlain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox