Page MenuHomeFreeBSD

devel/libvirt: improve configuration file handling
ClosedPublic

Authored by novel on Oct 19 2015, 3:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 25, 2:47 PM
Unknown Object (File)
Jan 12 2024, 6:33 PM
Unknown Object (File)
Jan 12 2024, 6:33 PM
Unknown Object (File)
Dec 20 2023, 1:08 AM
Unknown Object (File)
Nov 9 2023, 9:44 PM
Unknown Object (File)
Nov 9 2023, 9:55 AM
Unknown Object (File)
Oct 8 2023, 8:41 PM
Unknown Object (File)
Oct 8 2023, 8:50 AM
Subscribers

Details

Summary

Use @sample to avoid overwriting default network configuration
on re-installs.
In order to prevent overriding user's configuration across reinstalls, do the
following:

  • Networks configuration goes into %%EXAMPLESDIR%%
  • pkg-message moved to files/pkg-message.in to allow substitution and updated with instructions how to enable default network
  • While here, convert virtlockd.conf to use @sample

PR: 203865

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

novel retitled this revision from to devel/libvirt: do not cobbler default network configuration on re-installs.
novel updated this object.
novel edited the test plan for this revision. (Show Details)
novel set the repository for this revision to rP FreeBSD ports repository.
mat added inline comments.
Makefile
144 ↗(On Diff #9504)

So, you're removing the symlink in the ports Makefile to do it again here, I fail to see the point.

Makefile
144 ↗(On Diff #9504)

When port's Makefile creates the symlink, the 'default.xml' doesn't exist yet (because @sample will create it only in post-install). I'm wondering if it could have any implications?

Makefile
144 ↗(On Diff #9504)

Mmm, ok, sounds somewhat sensible, strange way of doing configuration things

novel retitled this revision from devel/libvirt: do not cobbler default network configuration on re-installs to devel/libvirt: improve configuration file handling.Oct 26 2015, 4:59 PM
novel updated this object.
This revision was automatically updated to reflect the committed changes.