Re: [virt-install PATCH v2 00/14] Add support for unattended installations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 5 Mar 2019, 21:51 Cole Robinson, <crobinso@xxxxxxxxxx> wrote:


Another piece to consider: the script is generated in a predictable path
~/.cache/virt-manager/fedora.ks for example. It's not likely to happen
but two virt-install runs could overwrite each others scripts here. I'd
expect the generated filename to be sometime like tmpfile output.

It wasn't clear to me how to actually ask libosinfo to write to a
different pathname though, and we would likely need to extend the initrd
inject logic to handle file rename before injection or something like
that. But it's worth considering

Worth knowing for us - we rebuild quite large sets of VMs in parallel using virt-install with a homebrewed unattended install. Ours sidesteps possible collisions as each script uses a directory based on the pid to assemble the relevant files. 

Peter 

Thanks,
Cole
_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux