Re: [PATCH 11/41] remote: conditionalize IP socket config in libvirtd.conf

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

 



On Fri, Jul 26, 2019 at 03:59:23PM +0200, Andrea Bolognani wrote:
> On Tue, 2019-07-23 at 17:02 +0100, Daniel P. Berrangé wrote:
> > +remote/libvirtd.conf: remote/libvirtd.conf.in
> > +	$(AM_V_GEN)sed \
> > +		-e '/:: CUT ENABLE_IP ::/d' \
> > +		-e '/:: END ::/d' \
> > +		-e 's/:: DAEMON_NAME ::/libvirtd/' \
> > +		< $^ > $@
> 
> Using $^ seems a bit weird considering that you have a single
> input... Any reason not to use $< here?

it is an accident.

> I would also use @DAEMON_NAME@ instead of ":: DAEMON_NAME ::" since
> the former style is already used everywhere for simple value
> replacement in .in files.

The augeas files already use "::" which is why I picked that. So we'll
need another patch first to remove existing usage.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux