On Wed, 2016-10-05 at 09:05 -0700, Tom Eastep wrote:
> On 10/05/2016 04:16 AM, Louis Lagendijk wrote:
> > 
> > Hi Tom, I am using shorewall to manage the firewalls on most of my
> > VMs. I use shorewall lite on my  VM's.
> > 
> > Today I did a long overdue configuration update on the
> > configuration on the different VMs.
> > 
> > Request 1: I used symlinks for a lot of the configuration files
> > that are common on all VMs. After a "shorewall update ." on the
> > configuration a lot of the files were updated and replaced by the
> > updated files in the working directory. Would it be possible to
> > find a way whereby the backup is saved as a new file and the file
> > pointed at  by the symlink is modified in place? It might even be
> > better to follow the symlink and make the modifications in the
> > directory it points to (save the .bak there)?
> > 
> 
> If, rather than using symlinks, you place the commmon files in a
> separate directory and include that directory on the CONFIG_PATH,
> then
> 'update' can find them and update them in their own directory.

Thanks Tom,
this should work for me too. This is even simpler than using symlinks.
I will give this a try when I have some time

Kind regards, Louis

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to